.hero-card img {
  aspect-ratio: 4 / 3;
}

/* Une identité littorale sobre : lumière, écume et bleus de l'Atlantique. */
.hero {
  isolation: isolate;
  background:
    radial-gradient(ellipse at 12% 112%, transparent 58%, rgba(41, 183, 222, .15) 59%, rgba(41, 183, 222, .15) 62%, transparent 63%),
    radial-gradient(ellipse at 55% 118%, transparent 61%, rgba(8, 127, 195, .10) 62%, rgba(8, 127, 195, .10) 65%, transparent 66%),
    linear-gradient(125deg, #fbfeff 0%, #e9f8fc 54%, #d8f2f9 100%);
}

.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  right: -8%;
  bottom: -165px;
  width: 70%;
  height: 245px;
  border-radius: 50% 0 0 0;
  background: rgba(255, 255, 255, .72);
  transform: rotate(-3deg);
}

.hero-card {
  border: 7px solid rgba(255, 255, 255, .9);
  box-shadow: 0 26px 65px rgba(6, 52, 81, .18);
}

.alt {
  background: linear-gradient(180deg, #f3fbfd 0%, #eaf7fb 100%);
}

.audience-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.audience-actions a {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 20px 22px;
  border: 1px solid #c9e7f0;
  border-radius: 18px;
  background: linear-gradient(135deg, #fff, #eefafd);
  color: var(--navy);
  text-decoration: none;
  box-shadow: 0 12px 30px rgba(9, 41, 69, .07);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.audience-actions a:hover,
.audience-actions a:focus-visible {
  transform: translateY(-3px);
  border-color: var(--cyan);
  box-shadow: 0 16px 34px rgba(9, 41, 69, .12);
}

.audience-actions strong { font-size: 1.05rem; }
.audience-actions span { color: var(--muted); }

.cta {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 100% 120%, transparent 54%, rgba(41, 183, 222, .17) 55%, rgba(41, 183, 222, .17) 61%, transparent 62%),
    linear-gradient(120deg, #ddf5fb, #fff);
}

.pro-hero { padding: 70px 0 76px; }
.pro-hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 54px; }
.pro-hero-photo { overflow: hidden; border: 7px solid rgba(255,255,255,.9); border-radius: 28px; box-shadow: 0 26px 65px rgba(6,52,81,.18); transform: rotate(1.5deg); }
.pro-hero-photo img { width: 100%; height: 500px; object-fit: cover; }
.pro-proof { position: relative; z-index: 2; margin-top: -34px; }
.pro-stats { display: grid; grid-template-columns: repeat(4,1fr); overflow: hidden; border-radius: 24px; background: var(--navy); color: #fff; box-shadow: 0 22px 55px rgba(9,41,69,.2); }
.pro-stats article { padding: 27px 22px; border-right: 1px solid rgba(255,255,255,.14); }
.pro-stats article:last-child { border-right: 0; }
.pro-stats strong { display: block; color: #75dbf4; font-size: clamp(2rem,4vw,3rem); line-height: 1; }
.pro-stats span { display: block; margin-top: 8px; line-height: 1.35; }
.pro-services { display: grid; grid-template-columns: repeat(2,1fr); gap: 18px; }
.pro-services article { position: relative; padding: 28px 28px 28px 76px; border: 1px solid #d8e9ee; border-radius: 22px; background: #fff; box-shadow: 0 14px 38px rgba(9,41,69,.07); }
.pro-services article > span { position: absolute; left: 24px; top: 27px; color: var(--cyan); font-weight: 900; font-size: 1.1rem; }
.pro-services h3 { margin-bottom: 8px; }
.pro-services p { margin: 0; color: var(--muted); }
.pro-split { display: grid; grid-template-columns: .95fr 1.05fr; gap: 58px; align-items: center; }
.lead-small { color: var(--muted); font-size: 1.06rem; line-height: 1.7; }
.pro-photo-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.pro-photo-pair img { width: 100%; height: 430px; object-fit: cover; border-radius: 22px; box-shadow: var(--shadow); }
.pro-photo-pair img:nth-child(2) { margin-top: 40px; }
.centered { max-width: 760px; margin-inline: auto; text-align: center; }
.pro-process { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.pro-process article { padding: 28px; border-radius: 22px; background: linear-gradient(145deg,#fff,#effafd); border: 1px solid #cfe8f0; }
.pro-process b { display: grid; place-items: center; width: 42px; height: 42px; margin-bottom: 18px; border-radius: 50%; background: var(--navy); color: #fff; font-size: 1.15rem; }
.pro-process p { margin-bottom: 0; color: var(--muted); }
.pro-targets .eyebrow { color: #75dbf4; }
.pro-targets-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 50px; align-items: center; }
.pro-commitments { display: flex; flex-wrap: wrap; gap: 10px; }
.pro-commitments span { padding: 10px 14px; border: 1px solid rgba(255,255,255,.28); border-radius: 999px; background: rgba(255,255,255,.08); color: #fff; }
.pro-cta { border-left: 8px solid var(--cyan); }
.pro-example { background: #eff9fc; }
.pro-example-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 55px; align-items: center; }
.pro-example h2 { margin: 16px 0 22px; color: var(--navy); font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1.1; letter-spacing: -.04em; }
.pro-example p { font-size: 1.05rem; color: #405665; }
.pro-example img { width: 100%; height: 380px; object-fit: cover; border-radius: 24px; box-shadow: var(--shadow); }
.text-link { display: inline-block; margin-top: 10px; color: var(--blue); font-weight: 800; text-decoration: underline; text-underline-offset: 4px; }
.trust-row a { text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 900px) {
  .pro-hero-grid,.pro-split,.pro-targets-grid,.pro-example-grid { grid-template-columns: 1fr; }
  .pro-hero-photo img { height: 390px; }
  .pro-stats { grid-template-columns: 1fr 1fr; }
  .pro-stats article:nth-child(2) { border-right: 0; }
  .pro-stats article:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.14); }
  .pro-process { grid-template-columns: 1fr; }
}

.sap-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  padding: 11px 15px;
  border: 1px solid rgba(255, 255, 255, .5);
  border-radius: 999px;
  color: #fff;
  font-size: .92rem;
  font-weight: 800;
  line-height: 1.25;
  text-decoration: none;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}

.sap-link:hover,
.sap-link:focus-visible {
  background: #fff;
  color: var(--navy);
  transform: translateY(-1px);
}

.sap-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  margin-top: 24px;
  padding: 15px 20px;
  border-radius: 16px;
  background: #fff;
}

.sap-logos img:first-child { width: 95px; height: auto; }
.sap-logos img:last-child { width: min(100%, 245px); height: auto; }

@media (max-width: 620px) {
  .sap-logos { gap: 10px; padding: 12px; }
  .sap-logos img:first-child { width: 68px; }
  .sap-logos img:last-child { width: min(100%, 180px); }
}

.showcase-banner {
  margin: 28px 0 16px;
  overflow: hidden;
  border-radius: 24px;
  box-shadow: 0 18px 45px rgba(6, 29, 48, .12);
}

.showcase-banner img {
  display: block;
  width: 100%;
  height: auto;
}

.real-gallery {
  display: grid;
  grid-template-columns: 1.35fr .8fr .8fr;
  grid-template-rows: 250px 250px;
  gap: 15px;
}

.real-gallery figure {
  position: relative;
  overflow: hidden;
  margin: 0;
  border-radius: 22px;
  background: var(--navy);
}

.real-gallery figure:first-child { grid-row: 1 / 3; }
.real-gallery figure:nth-child(4) { grid-column: 2 / 4; }

.real-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}

.real-gallery figure:hover img { transform: scale(1.035); }

.real-gallery figcaption {
  position: absolute;
  left: 14px;
  bottom: 14px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(6, 29, 48, .86);
  color: #fff;
  font-size: .82rem;
  font-weight: 800;
  backdrop-filter: blur(8px);
}

.vitrerie-showcase { padding-top: 24px; }

.vitrerie-gallery {
  display: grid;
  grid-template-columns: 1.45fr .75fr .75fr;
  gap: 15px;
  min-height: 440px;
}

.vitrerie-gallery figure {
  position: relative;
  overflow: hidden;
  margin: 0;
  min-height: 440px;
  border-radius: 22px;
  background: var(--navy);
}

.vitrerie-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.vitrerie-gallery figcaption {
  position: absolute;
  left: 14px;
  bottom: 14px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(6, 29, 48, .86);
  color: #fff;
  font-size: .82rem;
  font-weight: 800;
}

@media (max-width: 900px) {
  .real-gallery {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 300px 230px 230px;
  }
  .real-gallery figure:first-child { grid-column: 1 / 3; grid-row: auto; }
  .real-gallery figure:nth-child(4) { grid-column: 1 / 3; }
  .vitrerie-gallery { grid-template-columns: 1fr 1fr; }
  .vitrerie-gallery .vitrerie-wide { grid-column: 1 / 3; }
  .vitrerie-gallery figure { min-height: 300px; }
}

@media (max-width: 620px) {
  .audience-actions { grid-template-columns: 1fr; }
  .pro-hero { padding: 46px 0 60px; }
  .pro-hero-photo img { height: 310px; }
  .pro-proof { margin-top: -22px; }
  .pro-stats,.pro-services { grid-template-columns: 1fr; }
  .pro-stats article { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.14); }
  .pro-stats article:last-child { border-bottom: 0; }
  .pro-photo-pair { gap: 10px; }
  .pro-photo-pair img { height: 300px; }
  .pro-photo-pair img:nth-child(2) { margin-top: 24px; }
  .showcase-banner { border-radius: 16px; }
  .real-gallery {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 8px;
  }
  .real-gallery figure,
  .real-gallery figure:first-child,
  .real-gallery figure:nth-child(4) {
    flex: 0 0 82%;
    height: 300px;
    scroll-snap-align: start;
  }
  .vitrerie-gallery {
    display: flex;
    min-height: 0;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 8px;
  }
  .vitrerie-gallery figure,
  .vitrerie-gallery .vitrerie-wide {
    flex: 0 0 84%;
    min-height: 330px;
    scroll-snap-align: start;
  }
}
