﻿/* =========================================================
   Distrimers — feuille de style principale
   Charte graphique reprise du logo : bleu marine, bleu ciel
   et jaune soleil. Typographie condensée en majuscules,
   sections aérées, animations douces au défilement.
   ========================================================= */

:root {
  --blue-deep: #0d3a5c;
  --blue-deepest: #082A45;
  --blue: #1c6fb0;
  --blue-light: #4fc3e8;
  --sun: #f5a742;
  --sun-light: #ffd98a;
  --sun-pale: #fdf1de;
  --cream: #faf8f5;
  --white: #ffffff;
  --text: #24333f;
  --grey: #6d7f8c;
  --shadow: 0 10px 30px rgba(13, 58, 92, 0.14);
  --radius: 4px;
  --max-width: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Nunito Sans', 'Segoe UI', Arial, sans-serif;
  color: var(--text);
  background: var(--cream);
  line-height: 1.7;
}

h1, h2, h3, h4 {
  font-family: 'Oswald', 'Segoe UI', Arial, sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--blue-deep);
  line-height: 1.25;
  letter-spacing: 0.5px;
  margin-top: 0;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.2rem; }

p { margin-top: 0; }

a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

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

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

.section {
  padding: 70px 0;
}

.section--tight { padding: 44px 0; }

.section--orange {
  background: var(--blue-deep);
  color: var(--white);
}

.section--orange h2, .section--orange h3 { color: var(--white); }
.section--orange .stat-number { color: var(--sun-light); }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--sun);
  margin-bottom: 18px;
  position: relative;
  padding-bottom: 14px;
}

.eyebrow::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 40px;
  height: 2px;
  background: var(--sun);
}

.section--orange .eyebrow { color: var(--sun-light); }
.section--orange .eyebrow::after { background: var(--sun-light); }

/* ---------- Animations ---------- */

@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s ease, transform 0.7s ease;
  }

  .reveal.is-visible {
    opacity: 1;
    transform: none;
  }

  .grid-2 .reveal:nth-child(2),
  .contact-grid .reveal:nth-child(2) { transition-delay: 0.12s; }

  .grid-3 .reveal:nth-child(1), .grid-4 .reveal:nth-child(1), .tile-grid .reveal:nth-child(1), .product-grid .reveal:nth-child(1) { transition-delay: 0s; }
  .grid-3 .reveal:nth-child(2), .grid-4 .reveal:nth-child(2), .tile-grid .reveal:nth-child(2), .product-grid .reveal:nth-child(2) { transition-delay: 0.08s; }
  .grid-3 .reveal:nth-child(3), .grid-4 .reveal:nth-child(3), .tile-grid .reveal:nth-child(3), .product-grid .reveal:nth-child(3) { transition-delay: 0.16s; }
  .grid-4 .reveal:nth-child(4), .tile-grid .reveal:nth-child(4), .product-grid .reveal:nth-child(4) { transition-delay: 0.24s; }
  .product-grid .reveal:nth-child(n+5) { transition-delay: 0.28s; }
}

@keyframes shimmer {
  0% { background-position: 0 0; }
  100% { background-position: 200px 200px; }
}

@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes fadeScaleIn {
  from { opacity: 0; transform: scale(0.92); }
  to { opacity: 1; transform: scale(1); }
}

/* ---------- Top bar ---------- */

.top-bar {
  background: var(--blue-deepest);
  color: #b7cfe0;
  font-size: 0.82rem;
  letter-spacing: 0.3px;
}

.top-bar .container {
  display: flex;
  justify-content: flex-end;
  gap: 24px;
  padding-top: 9px;
  padding-bottom: 9px;
}

.top-bar a { color: #dcebf5; font-weight: 600; transition: color 0.2s ease; }
.top-bar a:hover { color: var(--sun-light); text-decoration: none; }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid #e7e2da;
  transition: box-shadow 0.3s ease;
}

.site-header.is-scrolled {
  box-shadow: 0 6px 20px rgba(13, 58, 92, 0.12);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  padding-bottom: 12px;
  transition: padding 0.3s ease;
}

.site-header.is-scrolled .container {
  padding-top: 7px;
  padding-bottom: 7px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand img {
  height: 50px;
  width: auto;
  transition: height 0.3s ease, transform 0.3s ease;
}

.site-header.is-scrolled .brand img {
  height: 38px;
}

.brand:hover img {
  transform: scale(1.05) rotate(-2deg);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.main-nav a {
  color: var(--blue-deep);
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: 0.88rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-decoration: none;
  padding: 8px 2px;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.main-nav a:hover,
.main-nav a[aria-current="page"] {
  color: var(--sun);
  border-bottom-color: var(--sun);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 3px;
  border-radius: 2px;
  background: var(--blue-deep);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-toggle.is-active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.is-active span:nth-child(2) { opacity: 0; }
.nav-toggle.is-active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  color: var(--white);
  background:
    linear-gradient(180deg, rgba(8, 42, 69, 0.45), rgba(8, 42, 69, 0.6)),
    url('../images/accueil.jpg') center 60% / cover no-repeat;
  padding: 130px 0 140px;
  text-align: center;
  overflow: hidden;
}

.hero .container { position: relative; }

.hero .tagline-top {
  letter-spacing: 5px;
  text-transform: uppercase;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--sun-light);
  margin-bottom: 6px;
  animation: fadeScaleIn 0.8s ease both;
}

.hero .divider {
  width: 40px;
  height: 2px;
  background: var(--sun);
  margin: 18px auto;
}

.logo-spotlight {
  position: relative;
  display: inline-block;
  margin: 6px auto 26px;
}

.hero .logo-badge {
  position: relative;
  z-index: 1;
  width: 620px;
  max-width: 88vw;
  margin: 0 auto;
  opacity: 0.94;
  filter: drop-shadow(0 10px 26px rgba(0,0,0,0.5));
  animation: floatY 6s ease-in-out infinite, fadeScaleIn 0.9s ease both 0.1s;
}

.hero .tagline-bottom {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 1.9rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--white);
  margin: 0;
  animation: fadeScaleIn 0.9s ease both 0.2s;
}

/* ---------- Page header (sous-pages) ---------- */

.page-header {
  background:
    linear-gradient(180deg, rgba(8, 42, 69, 0.78), rgba(8, 42, 69, 0.85)),
    url('../images/accueil.jpg') center 55% / cover no-repeat;
  color: var(--white);
  padding: 64px 0;
  text-align: center;
}

.page-header .eyebrow { color: var(--sun-light); }
.page-header .eyebrow::after { background: var(--sun-light); }
.page-header h1 { color: var(--white); margin-bottom: 10px; }
.page-header p { opacity: 0.85; max-width: 640px; margin: 0 auto; font-size: 1.05rem; }

/* ---------- Section avec photo plein cadre en fond ---------- */

.section--photo-bg {
  position: relative;
  isolation: isolate;
  color: var(--white);
  background-size: cover;
  background-position: center;
}

.section--photo-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 42, 69, 0.68), rgba(8, 42, 69, 0.82));
  z-index: -1;
}

.section--photo-bg h2 { color: var(--white); }
.section--photo-bg p { color: rgba(255, 255, 255, 0.92); }

/* ---------- Grid / cards ---------- */

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  align-items: center;
}

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

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

.card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 30px;
  border-top: 3px solid var(--sun);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 34px rgba(13, 58, 92, 0.2);
}

.stat {
  text-align: center;
  padding: 20px 10px;
}

.stat .stat-number {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 2.3rem;
  color: var(--sun);
  display: block;
  letter-spacing: 1px;
}

.stat .stat-label {
  font-size: 0.9rem;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}

/* ---------- Image placeholders ---------- */

.img-placeholder {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 260px;
  display: flex;
  align-items: flex-end;
  background: linear-gradient(135deg, #1c6fb0, #4fc3e8);
  box-shadow: var(--shadow);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.img-placeholder:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 34px rgba(13, 58, 92, 0.2);
}

.img-placeholder.tone-b { background: linear-gradient(135deg, #0d3a5c, #1c6fb0); }
.img-placeholder.tone-c { background: linear-gradient(135deg, #f5a742, #c17a2f); }
.img-placeholder.tone-d { background: linear-gradient(135deg, #4fc3e8, #1c6fb0); }

.img-placeholder .label {
  background: rgba(8, 42, 69, 0.8);
  color: var(--white);
  font-size: 0.8rem;
  padding: 10px 14px;
  width: 100%;
}

.img-placeholder svg {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 40px;
  height: 40px;
  opacity: 0.55;
}

/* ---------- Cadre photo (photos réelles) ---------- */

.photo-frame {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  min-height: 300px;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.photo-frame img {
  width: 100%;
  height: 100%;
  min-height: 300px;
  object-fit: cover;
}

.photo-frame:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 34px rgba(13, 58, 92, 0.2);
}

.photo-row {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  max-width: 900px;
  margin: 24px auto 0;
}

.photo-row .photo-frame {
  min-height: 0;
  min-width: 240px;
}

.photo-row .photo-frame img {
  width: 100%;
  height: auto;
  min-height: 0;
}

.photo-frame--banner {
  min-height: 0;
  aspect-ratio: 2.2 / 1;
}

.photo-frame--banner img {
  min-height: 0;
  object-position: center top;
}

/* ---------- Tuiles de navigation (accueil) ---------- */

.tile-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.tile {
  position: relative;
  min-height: 220px;
  display: flex;
  align-items: flex-end;
  padding: 22px;
  overflow: hidden;
  text-decoration: none;
}

.tile::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(8, 20, 32, 0.85) 100%);
  transition: background 0.3s ease;
}

.tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: inherit;
  transform: scale(1);
  transition: transform 0.5s ease;
  z-index: -1;
}

.tile:hover::after { transform: scale(1.08); }

.tile.tone-1 { background: linear-gradient(135deg, #0d3a5c, #1c6fb0); }
.tile.tone-2 { background: linear-gradient(135deg, #1c6fb0, #4fc3e8); }
.tile.tone-3 { background: linear-gradient(135deg, #c17a2f, #f5a742); }
.tile.tone-4 { background: linear-gradient(135deg, #082A45, #0d3a5c); }

.tile span {
  position: relative;
  color: var(--white);
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-decoration: none;
  transition: transform 0.3s ease, color 0.3s ease;
  display: inline-block;
}

.tile:hover span { color: var(--sun-light); transform: translateX(4px); }

/* ---------- Grille produits ---------- */

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 18px;
  margin-top: 30px;
}

.product-photo {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius);
  overflow: hidden;
  background: linear-gradient(135deg, #c9c2b4, #efe9de);
  box-shadow: var(--shadow);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.product-photo:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 30px rgba(13, 58, 92, 0.22);
}

.product-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.product-photo:hover img { transform: scale(1.08); }

.product-photo .placeholder-label {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10px;
  color: var(--grey);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.product-name {
  margin-top: 10px;
  font-weight: 700;
  color: var(--blue-deep);
  font-size: 0.95rem;
  text-align: center;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  padding: 13px 30px;
  border: 2px solid var(--blue-deep);
  color: var(--blue-deep);
  border-radius: var(--radius);
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: 0.88rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
  background: transparent;
  cursor: pointer;
}

.btn:hover {
  background: var(--blue-deep);
  color: var(--white);
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(13, 58, 92, 0.25);
}

.btn:active { transform: translateY(0); }

.btn--solid {
  background: var(--blue-deep);
  color: var(--white);
  border-color: var(--blue-deep);
}

.btn--solid:hover {
  background: var(--sun);
  border-color: var(--sun);
  color: var(--white);
}

.section--orange .btn {
  border-color: var(--white);
  color: var(--white);
}

.section--orange .btn:hover {
  background: var(--sun);
  border-color: var(--sun);
  color: var(--white);
}

/* ---------- Lists with icon ---------- */

.check-list {
  list-style: none;
  padding: 0;
  margin: 18px 0;
}

.check-list li {
  padding-left: 26px;
  position: relative;
  margin-bottom: 10px;
  transition: transform 0.2s ease;
}

.check-list li:hover { transform: translateX(4px); }

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 10px;
  height: 10px;
  background: var(--sun);
}

/* ---------- Quality icons grid ---------- */

.icon-card {
  text-align: center;
  padding: 30px 20px;
}

.icon-circle {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: var(--blue-deepest);
  border: 2px solid var(--sun);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  flex-shrink: 0;
  transition: transform 0.3s ease, background 0.3s ease;
}

.icon-card:hover .icon-circle,
.card:hover .icon-circle {
  transform: scale(1.1) rotate(6deg);
}

.icon-circle svg {
  width: 32px;
  height: 32px;
  stroke: var(--sun-light);
}

.icon-card h3 { font-size: 1.05rem; }

.card .icon-circle {
  background: var(--sun-pale);
  border-color: var(--sun);
  margin-left: 0;
}

.card .icon-circle svg { stroke: var(--sun); }

/* ---------- Contact ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
}

.contact-info dl {
  margin: 0;
}

.contact-info dt {
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  color: var(--sun);
  margin-top: 20px;
  text-transform: uppercase;
  font-size: 0.82rem;
  letter-spacing: 1px;
}

.contact-info dd {
  margin: 4px 0 0;
}

form.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-form label {
  font-weight: 700;
  font-size: 0.88rem;
  margin-bottom: 6px;
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #d8cfc2;
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 0.95rem;
  background: var(--white);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(28, 111, 176, 0.15);
}

.contact-form textarea { resize: vertical; min-height: 130px; }

.contact-form .required { color: var(--sun); }

.map-embed {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  margin-top: 30px;
}

.map-embed iframe {
  width: 100%;
  height: 340px;
  border: 0;
  display: block;
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--blue-deepest);
  color: #a9c2d4;
  padding: 56px 0 24px;
}

.footer-logo {
  display: flex;
  justify-content: center;
  margin-bottom: 40px;
}

.footer-logo img {
  height: 64px;
  background: var(--white);
  border-radius: 50%;
  padding: 12px;
  transition: transform 0.4s ease;
}

.footer-logo img:hover { transform: rotate(8deg) scale(1.05); }

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 32px;
}

.site-footer h4 {
  color: var(--white);
  font-size: 0.95rem;
  margin-bottom: 14px;
}

.site-footer a { color: #a9c2d4; transition: color 0.2s ease; }
.site-footer a:hover { color: var(--sun-light); }

.footer-nav ul, .footer-contact ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-nav li, .footer-contact li {
  margin-bottom: 10px;
  padding-left: 16px;
  position: relative;
}

.footer-nav li::before, .footer-contact li::before {
  content: "\25B8";
  position: absolute;
  left: 0;
  color: var(--sun);
  transition: transform 0.2s ease;
}

.footer-nav li:hover::before, .footer-contact li:hover::before {
  transform: translateX(3px);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 40px;
  padding-top: 18px;
  text-align: center;
  font-size: 0.82rem;
  color: #7891a3;
}

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  .grid-2 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .tile-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .top-bar .container { justify-content: center; }
}

@media (max-width: 700px) {
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 24px 24px;
    gap: 14px;
    border-bottom: 1px solid #e7e2da;
    display: none;
  }
  .main-nav.is-open { display: flex; }
  .nav-toggle { display: flex; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .tile-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  .hero { padding: 60px 0 70px; }
  .top-bar .container { gap: 14px; font-size: 0.75rem; }
}

@media (prefers-reduced-motion: reduce) {
  .hero::before,
  .hero .logo-badge,
  .hero .tagline-top,
  .hero .tagline-bottom {
    animation: none !important;
  }
}

/* =========================================================
   Passe design v18 — une seule idée forte : la vague
   (l'étang, la marée) qui ferme chaque bandeau de page.
   Le reste est calme : peu d'ombres, des titres structurés,
   un rythme de sections plus net.
   ========================================================= */

:root { --wave: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80' preserveAspectRatio='none'%3E%3Cpath fill='%23faf8f5' d='M0 40c120 36 240 36 360 12s240-48 360-40 240 52 360 56 240-20 360-40v52H0z'/%3E%3C/svg%3E"); }

body { font-size: 1.04rem; line-height: 1.75; }
p { max-width: 68ch; }
.container > p, .grid-2 p { max-width: 62ch; }

/* Titres : trait soleil court, aligné à gauche, qui structure la page */
h2 { font-size: 2.1rem; letter-spacing: 0.8px; margin-bottom: 22px; position: relative; padding-bottom: 16px; }
h2::after { content: ""; position: absolute; left: 0; bottom: 0; width: 48px; height: 4px; background: var(--sun); border-radius: 2px; }
.section--orange h2::after, [style*="text-align:center"] > h2::after { left: 50%; transform: translateX(-50%); }
h2[style*="text-align:center"]::after { left: 50%; transform: translateX(-50%); }

/* Bandeau de page : plus haut, titre plus grand, vague en pied */
.page-header { position: relative; padding: 96px 0 120px; text-align: left; }
.page-header .container { max-width: 980px; }
.page-header h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); line-height: 1.1; max-width: 18ch; margin-bottom: 18px; text-wrap: balance; }
.page-header p { margin: 0; max-width: 52ch; font-size: 1.15rem; opacity: 0.92; }
.page-header::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 56px; background: var(--wave) center bottom / 100% 100% no-repeat; }
.page-header h1 { animation: riseIn .8s cubic-bezier(.2,.7,.2,1) both; }
.page-header p { animation: riseIn .8s cubic-bezier(.2,.7,.2,1) .12s both; }
@keyframes riseIn { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* Menu : état actif plus lisible */
.main-nav a { font-size: 0.92rem; }
.main-nav a[aria-current="page"] { color: var(--blue-deep); border-bottom-color: var(--sun); border-bottom-width: 3px; }
.main-nav a:hover { color: var(--blue); border-bottom-color: var(--blue-light); }

/* Calme : on retire les effets de survol répétitifs sur les photos */
.photo-frame { border-radius: 10px; box-shadow: 0 14px 34px rgba(13,58,92,.16); }
.photo-frame:hover { transform: none; box-shadow: 0 14px 34px rgba(13,58,92,.16); }
.photo-frame img { transition: transform .8s ease; }
.photo-frame:hover img { transform: scale(1.03); }
.reveal { --y: 16px; }
@media (prefers-reduced-motion: no-preference) { .reveal { transform: translateY(16px); transition-duration: .6s; } }

/* Barquette libre service en entier */
.photo-frame--full { min-height: 0; aspect-ratio: auto; max-width: 340px; margin: 0 auto; background: var(--white); padding: 10px; }
.photo-frame--full img { width: 100%; height: auto; min-height: 0; border-radius: 6px; }
.photo-frame--full:hover img { transform: none; }

/* Produits : vignettes rondes-carrées, noms plus nets */
.product-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 26px 20px; }
.product-photo { border-radius: 14px; box-shadow: 0 8px 20px rgba(13,58,92,.12); }
.product-photo:hover { transform: none; box-shadow: 0 8px 20px rgba(13,58,92,.12); }
.product-name { font-family: 'Oswald', sans-serif; font-weight: 500; text-transform: uppercase; letter-spacing: .8px; font-size: .88rem; line-height: 1.3; margin-top: 12px; }

/* Engagements qualité : cartes blanches, filet soleil à gauche */
.icon-card { text-align: left; background: var(--white); border-radius: 10px; padding: 30px 26px; border-left: 5px solid var(--sun); box-shadow: 0 8px 22px rgba(13,58,92,.09); }
.icon-card .icon-circle { margin: 0 0 16px; width: 56px; height: 56px; }
.icon-card .icon-circle svg { width: 26px; height: 26px; }
.icon-card:hover .icon-circle { transform: none; }
.icon-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.icon-card p { margin: 0; color: var(--grey); }

/* Chiffres clés : plus lisibles */
.stat .stat-number { font-size: 2.8rem; color: var(--sun-light); line-height: 1.1; }
.stat .stat-label { font-size: .82rem; opacity: .85; }

/* Bandeau d'appel : fond bleu avec vague claire en haut */
.section--orange { position: relative; padding: 80px 0 64px; }
.section--orange::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 40px; background: var(--wave) center top / 100% 100% no-repeat; transform: scaleY(-1); transform-origin: center; }
.section--orange .btn { background: var(--sun); border-color: var(--sun); color: var(--blue-deepest); }
.section--orange .btn:hover { background: var(--white); border-color: var(--white); color: var(--blue-deep); }

/* Boutons et formulaire : focus clavier visible */
a:focus-visible, button:focus-visible, .btn:focus-visible { outline: 3px solid var(--blue-light); outline-offset: 3px; }
.contact-form label { text-transform: none; font-size: .95rem; letter-spacing: 0; }
.contact-info dt { color: var(--blue); letter-spacing: .6px; }
.contact-info dd { font-size: 1.08rem; }

/* Pied de page */
.site-footer { padding-top: 64px; }
.footer-grid { gap: 48px; }

@media (max-width: 700px) {
  .page-header { padding: 64px 0 90px; }
  .page-header h1 { max-width: none; }
}

/* v19 — vague plus discrète, bandeau de même hauteur qu'avant */
.page-header { padding: 56px 0 64px; }
.page-header h1 { font-size: clamp(2rem, 4vw, 2.6rem); margin-bottom: 10px; max-width: none; }
.page-header p { font-size: 1.05rem; }
.page-header::after { height: 22px; }
.section--orange { padding: 56px 0 48px; }
.section--orange::before { height: 20px; }
@media (max-width: 700px) { .page-header { padding: 44px 0 52px; } }

/* v20 - accueil : texte du hero recentre */
.hero p, .hero .tagline-top { max-width: none; margin-left: auto; margin-right: auto; }
.hero h1 { max-width: none; }


/* v21 - message de confirmation du formulaire */
.form-status { margin: 0; padding: 14px 18px; border-radius: 6px; font-weight: 600; max-width: none; }
.form-status.is-ok { background: #e3f4ea; color: #1d6b3a; border-left: 5px solid #2e9e5b; }
.form-status.is-error { background: #fdeaea; color: #9b2c2c; border-left: 5px solid #d64545; }



/* v23 - accueil : trait orange supprime, slogan comme avant */
.hero .tagline-bottom { margin: 0 auto; max-width: none; }


/* v24 - cadre des chiffres cles reduit */
.grid-3 > .stat .stat-number { font-size: 1.9rem; }
.grid-3 > .stat .stat-label { font-size: .75rem; }



/* v25 - bandeau de page sur la meme grille que le contenu */
.page-header .container { max-width: var(--max-width); }


/* v26 - chapitres resserres : moins de defilement */
body { line-height: 1.6; }
h2 { font-size: 1.75rem; margin-bottom: 14px; padding-bottom: 12px; }
h2::after { height: 3px; width: 40px; }
.section { padding: 36px 0; }
.section--tight { padding: 26px 0; }
.page-header { padding: 34px 0 44px; }
.page-header h1 { font-size: clamp(1.8rem, 3.4vw, 2.3rem); margin-bottom: 6px; }
.page-header p { font-size: 1rem; }
.page-header::after { height: 18px; }
.section--orange { padding: 38px 0 32px; }
.section--orange::before { height: 16px; }
.grid-2 { gap: 34px; }
.grid-3 { gap: 18px; }
.photo-frame, .photo-frame img { min-height: 0; }
.photo-frame img { max-height: 300px; }
.photo-frame--full img { max-height: none; }
.photo-row { gap: 16px; margin-top: 14px; }
.photo-row .photo-frame img { max-height: none; }
.product-grid { grid-template-columns: repeat(auto-fill, minmax(112px, 1fr)); gap: 14px 14px; margin-top: 16px; }
.product-name { font-size: .78rem; margin-top: 6px; }
.photo-frame--full { max-width: 220px; padding: 6px; }
.icon-card { padding: 18px 18px; }
.icon-card .icon-circle { width: 44px; height: 44px; margin-bottom: 10px; }
.icon-card .icon-circle svg { width: 22px; height: 22px; }
.icon-card h3 { font-size: 1rem; margin-bottom: 4px; }
.icon-card p { font-size: .92rem; line-height: 1.5; }
.stat .stat-number { font-size: 2.2rem; }
.contact-grid { gap: 32px; }
.contact-info dt { margin-top: 12px; }
.map-embed { margin-top: 18px; }
.map-embed iframe { height: 220px; }
form.contact-form { gap: 10px; }
.contact-form textarea { min-height: 90px; }
.contact-form input, .contact-form textarea { padding: 9px 12px; }
.site-footer { padding: 32px 0 14px; }
.footer-grid { gap: 28px; }
.footer-bottom { margin-top: 20px; padding-top: 12px; }
.hero { padding: 70px 0 80px; }
@media (max-width: 900px) { .section { padding: 28px 0; } }

.hero { padding: 44px 0 52px; }


/* v27 - accueil : la photo remplit tout l'ecran, le pied de page se decouvre en defilant */
.hero { min-height: calc(100vh - 114px); min-height: calc(100svh - 114px); display: flex; align-items: center; justify-content: center; padding: 40px 0; }
.hero .container { width: 100%; }


