/* Tube Caron – feuille de style du one-pager */

/* Polices hébergées sur le site (licence SIL OFL, voir fonts/OFL-LICENSE.txt) */
@font-face {
  font-family: "Barlow";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/barlow-latin-400-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Barlow";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/barlow-latin-500-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Barlow";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/barlow-latin-600-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Barlow Condensed";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/barlow-condensed-latin-600-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Barlow Condensed";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/barlow-condensed-latin-700-normal.woff2") format("woff2");
}

:root {
  --marine: #00395A;
  --marine-fonce: #00243A;
  --vert: #8DC63F;
  --texte: #14232D;
  --texte-doux: #3A4B57;
  --gris-fond: #F3F6F8;
  --bordure: #D5DFE5;
  --police-titre: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
  --police-texte: "Barlow", "Helvetica Neue", Arial, sans-serif;
  --entete: 73px;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--entete);
}

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

body {
  margin: 0;
  font-family: var(--police-texte);
  color: var(--texte);
  background: #ffffff;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3 {
  font-family: var(--police-titre);
  font-weight: 700;
  margin: 0;
}

p { margin: 0; }

a:focus-visible,
.btn:focus-visible {
  outline: 3px solid var(--vert);
  outline-offset: 3px;
}

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 48px;
}

.rule {
  display: block;
  width: 56px;
  height: 4px;
  background: var(--vert);
  margin-bottom: 14px;
}

.lead {
  font-size: 19px;
  line-height: 1.55;
  color: var(--texte-doux);
}

/* En-tête */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: #ffffff;
  border-bottom: 1px solid #E3E9ED;
}

.header-inner {
  max-width: 1336px;
  margin: 0 auto;
  padding: 14px 48px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.logo { margin-right: auto; }
.logo img { height: 44px; width: auto; }

.main-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 32px;
}

.main-nav a {
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  color: var(--marine);
  padding: 10px 0;
}

.main-nav a:hover { color: var(--marine-fonce); text-decoration: underline; }

.main-nav .nav-cta {
  background: var(--vert);
  padding: 12px 22px;
  border-radius: 4px;
}

.main-nav .nav-cta:hover { text-decoration: none; background: #7DB532; }

/* Bouton de langue, séparé du menu par un filet vertical */
.lang-switch {
  display: flex;
  align-items: center;
  padding-left: 24px;
  border-left: 1px solid var(--bordure);
}

.lang-switch a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 0 10px;
  border: 1px solid var(--marine);
  border-radius: 4px;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.04em;
  color: var(--marine);
  text-decoration: none;
}

.lang-switch a:hover { background: var(--marine); color: #ffffff; }

/* Accueil */
.hero {
  min-height: calc(100vh - var(--entete));
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background-image:
    linear-gradient(90deg, rgba(0,36,58,0.94) 0%, rgba(0,36,58,0.80) 42%, rgba(0,36,58,0.30) 100%),
    url("../images/accueil-cuivre.jpg");
  background-size: cover;
  background-position: center;
}

.hero-content {
  width: 100%;
  padding-top: 120px;
  padding-bottom: 64px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.hero-kicker {
  font-family: var(--police-titre);
  font-weight: 600;
  font-size: 18px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--vert);
}

.hero h1 {
  max-width: 760px;
  font-size: 84px;
  line-height: 0.98;
  color: #ffffff;
}

.hero-text {
  max-width: 620px;
  font-size: 20px;
  line-height: 1.55;
  color: #DCE6EC;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 28px;
  font-weight: 600;
  font-size: 18px;
  text-decoration: none;
  border-radius: 4px;
}

.btn-accent { background: var(--vert); color: var(--marine-fonce); }
.btn-accent:hover { background: #7DB532; }
.btn-outline { border: 1px solid rgba(255,255,255,0.55); color: #ffffff; }
.btn-outline:hover { background: rgba(255,255,255,0.1); }

.hero-note { font-size: 15px; color: #B7C8D3; }

/* Chiffres clés */
.stats {
  background: rgba(0,36,58,0.88);
  border-top: 3px solid var(--vert);
}

.stats-grid {
  margin-top: 0;
  margin-bottom: 0;
  padding-top: 28px;
  padding-bottom: 28px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 24px 32px;
}

.stats-grid div { display: flex; flex-direction: column; gap: 6px; }

.stats-grid dt {
  font-family: var(--police-titre);
  font-weight: 700;
  font-size: 34px;
  line-height: 1;
  color: #ffffff;
}

.stats-grid dd {
  margin: 0;
  font-size: 15px;
  line-height: 1.4;
  color: #C3D2DB;
}

/* Capacités */
.capacites { padding: 112px 0 96px; }

.section-head {
  display: flex;
  flex-wrap: wrap;
  gap: 24px 64px;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 56px;
}

.section-head > div { flex: 1 1 420px; }
.section-head .lead { flex: 1 1 420px; max-width: 560px; }

.capacites h2,
.contact h2 {
  font-size: 56px;
  line-height: 1;
  color: var(--marine);
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.card {
  display: flex;
  flex-direction: column;
  background: var(--gris-fond);
  border-radius: 6px;
  overflow: hidden;
}

.card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.card img.pos-top { object-position: center 35%; }

.card-body {
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.card h3 { font-size: 30px; color: var(--marine); }

.card p { font-size: 16px; line-height: 1.55; color: #2C3D49; }

.card-dark { background: var(--marine); }
.card-dark h3 { color: #ffffff; }
.card-dark p { color: #DCE6EC; }

.extras {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.box {
  padding: 28px;
  border: 1px solid var(--bordure);
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.box-controle {
  flex-direction: row;
  gap: 20px;
  align-items: flex-start;
  color: var(--marine);
}

.box-controle svg { flex: none; }
.box-controle div { display: flex; flex-direction: column; gap: 8px; }

.box h3 { font-size: 26px; color: var(--marine); }
.box p { font-size: 16px; line-height: 1.55; color: #2C3D49; }

.chips {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chips li {
  padding: 8px 14px;
  background: #E8EFF3;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  color: var(--marine);
}

/* Secteurs desservis */
.secteurs {
  padding: 96px 0;
  background-image:
    linear-gradient(rgba(0,30,48,0.90), rgba(0,30,48,0.90)),
    url("../images/cintrage-inox.jpg");
  background-size: cover;
  background-position: center;
}

.secteurs h2 {
  font-size: 48px;
  line-height: 1;
  color: #ffffff;
  margin-bottom: 48px;
}

.secteurs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 32px;
}

.secteurs-grid > div {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.3);
}

.secteurs h3 {
  font-weight: 600;
  font-size: 26px;
  line-height: 1.1;
  color: #ffffff;
}

.secteurs p { font-size: 16px; line-height: 1.55; color: #D2DEE5; }

/* Nous joindre */
.contact {
  padding: 112px 0;
  background: var(--gris-fond);
}

.contact-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 48px 64px;
  align-items: center;
}

.contact-text {
  flex: 1 1 420px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-text .rule { margin-bottom: 0; }

.contact-cards {
  flex: 1 1 420px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 28px 32px;
  background: var(--marine);
  border-radius: 6px;
  text-decoration: none;
  color: var(--vert);
}

.contact-card:hover { background: var(--marine-fonce); }
.contact-card svg { flex: none; }

.contact-card > span,
.contact-address > span {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.contact-label { font-size: 15px; font-weight: 500; color: #C3D2DB; }

.contact-value {
  font-family: var(--police-titre);
  font-weight: 700;
  font-size: 34px;
  line-height: 1.1;
  color: #ffffff;
  overflow-wrap: anywhere;
}

.contact-address {
  font-style: normal;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px 32px;
  background: #ffffff;
  border: 1px solid var(--bordure);
  border-radius: 6px;
  color: var(--marine);
}

.contact-address svg { flex: none; }

.contact-address strong {
  font-family: var(--police-titre);
  font-weight: 700;
  font-size: 22px;
}

.contact-address span span { font-size: 17px; line-height: 1.5; color: #2C3D49; }


/* Lien vers la politique de confidentialité */
.contact-legal { font-size: 15px; }
.contact-legal a { color: var(--texte-doux); }
.contact-legal a:hover { color: var(--marine); }

/* Page de confidentialité */
.legal {
  background: var(--gris-fond);
  padding: 96px 0 112px;
}

.legal-inner {
  max-width: 760px;
  margin: 0 auto;
  padding: 48px;
  background: #ffffff;
  border-radius: 6px;
}

.legal h1 {
  font-size: 52px;
  line-height: 1;
  color: var(--marine);
}

.legal h2 {
  font-size: 26px;
  line-height: 1.15;
  color: var(--marine);
  margin: 40px 0 12px;
}

.legal p {
  font-size: 17px;
  line-height: 1.6;
  color: #2C3D49;
  margin-bottom: 12px;
}

.legal a { color: var(--marine); font-weight: 600; }

.legal .legal-date { margin-top: 12px; font-size: 15px; color: var(--texte-doux); }

.legal .legal-back { margin-top: 40px; margin-bottom: 0; }

/* Tablette et téléphone */
@media (max-width: 760px) {
  .container,
  .header-inner { padding-left: 20px; padding-right: 20px; }
  .hero-content { padding-top: 72px; }
  .hero h1 { font-size: 48px; }
  .hero-text { font-size: 18px; }
  .capacites h2,
  .contact h2 { font-size: 38px; }
  .secteurs h2 { font-size: 36px; }
  .capacites,
  .contact { padding: 72px 0; }
  .secteurs { padding: 72px 0; }
  .contact-card,
  .contact-address { padding: 22px 20px; }
  .contact-value { font-size: 22px; overflow-wrap: break-word; }
  .contact-card, .contact-address { gap: 14px; }
  .contact-card svg, .contact-address svg { width: 26px; height: 26px; }
  .logo img { height: 36px; }
  html { scroll-padding-top: 0; }
  .site-header { position: static; }
  .header-inner { padding-top: 12px; padding-bottom: 12px; gap: 8px; }
  .logo { order: 1; }
  .lang-switch { order: 2; padding-left: 0; border-left: 0; }
  .main-nav { order: 3; width: 100%; gap: 8px 20px; }
  .main-nav a { font-size: 15px; }
  .main-nav .nav-cta { margin-left: auto; padding: 10px 16px; }
  .hero { min-height: 0; }
  .legal { padding: 0; background: #ffffff; }
  .legal-inner { padding: 40px 20px 64px; }
  .legal h1 { font-size: 38px; }
}
