/* ============================================================
   BOUYGUES TELECOM - MEILLEUR PRIX
   main.css — Global styles, variables, typography, layout
   ============================================================ */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Marianne:wght@400;500;700;800&display=swap');
/* Fallback: system font stack with similar feel */

/* --- CSS Variables (from Figma palette) --- */
:root {
  /* Brand colors */
  --color-main: #25465F;
  --color-main-fade: #EFF2F8;
  --color-accent: #CC4E0A;

  /* Semantic */
  --color-info: #0C7B91;
  --color-info-fade: #EAF2F4;
  --color-success: #007B52;
  --color-success-fade: #E4EAE7;
  --color-warning: #FFBB33;
  --color-warning-fade: #FFF2E5;
  --color-error: #D42D02;
  --color-error-fade: #FBE4E4;

  /* Neutrals */
  --color-grey: #BBC6CD;
  --color-grey-fade: #E9EFF4;

  /* UI */
  --color-white: #FFFFFF;
  --color-bg: #FFFFFF;
  --color-text: #25465F;
  --color-text-light: #5A7080;
  --color-border: #D6E0E8;
  --color-footer-bg: #25465F;

  /* Step indicator */
  --color-step-active: #25465F;
  --color-step-inactive: #BBC6CD;

  /* Typography */

  /* Spacing */
  --container-max: 480px;
  --space-xs: 8px;
  --space-sm: 12px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-xxl: 48px;

  /* Radii */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-btn: 6px;
}


@font-face {
  font-family: "BouyguesSpeak";
  src: url('../font/BouyguesSpeak.otf') format('opentype');
  font-display: swap;
}

.BouyguesSpeak {
  font-family: "BouyguesSpeak" !important;
  font-weight: normal;
}

@font-face {
  font-family: "BouyguesRead-Medium";
  src: url('../font/BouyguesRead-Medium.ttf') format('truetype');
  font-display: swap;
}

.BouyguesRead-Medium {
  font-family: "BouyguesRead-Medium" !important;
  font-weight: normal;
}

@font-face {
  font-family: "BouyguesRead-Regular";
  src: url('../font/BouyguesRead-Regular.ttf') format('truetype');
  font-display: swap;
}

.BouyguesRead-Regular {
  font-family: "BouyguesRead-Regular" !important;
  font-weight: normal;
}

@font-face {
  font-family: "BouyguesRead-Semibold";
  src: url('../font/BouyguesRead-Semibold.ttf') format('truetype');
  font-display: swap;
}

.BouyguesRead-Semibold {
  font-family: "BouyguesRead-Semibold" !important;
  font-weight: normal;
}

@font-face {
  font-family: "BouyguesSpeak-Bold";
  src: url('../font/BouyguesSpeak-Bold.ttf') format('truetype');
  font-display: swap;
}

.BouyguesSpeak-Bold {
  font-family: "BouyguesSpeak-Bold" !important;
  font-weight: normal;
}

@font-face {
  font-family: "BouyguesSpeakCorpo";
  src: url('../font/BouyguesSpeakCorpo.otf') format('opentype');
  font-display: swap;
}

.BouyguesSpeakCorpo {
  font-family: "BouyguesSpeakCorpo" !important;
  font-weight: normal;
}

/* --- Reset --- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

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

ul {
  list-style: none;
}

/* --- Layout wrapper --- */
.page-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

main {
  flex: 1;
  padding-bottom: var(--space-xxl);
}

/* ============================================================
   HEADER / NAVBAR
   ============================================================ */
.site-header {
  background: var(--color-white);
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
}

.header-logo img {
  height: 36px;
  width: auto;
}

.header-logo svg {
  height: 36px;
  width: auto;
}

/* Hamburger */
.nav-toggle {
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-main);
  border-radius: 2px;
  transition: all 0.3s ease;
}


/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1,
h2,
h3,
h4 {
  font-family: var(--font-main);
  font-weight: 800;
  line-height: 1.2;
  color: var(--color-main);
}

h1 {
  font-size: 26px;
}

h2 {
  font-size: 20px;
}

h3 {
  font-size: 17px;
}

p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--color-text);
}

.text-accent {
  color: var(--color-accent);
}

.text-info {
  color: var(--color-info);
}

.text-success {
  color: var(--color-success);
}

.text-error {
  color: var(--color-error);
}

.text-center {
  text-align: center;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-block;
  font-family: var(--font-main);
  font-size: 16px;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
  border: none;
  border-radius: var(--radius-btn);
  padding: 14px 24px;
  transition: background 0.2s, transform 0.1s, box-shadow 0.2s;
  text-decoration: none;
  width: 100%;
}

.btn-primary {
  background: var(--color-accent);
  color: var(--color-white);
}

.btn-primary:hover {
  background: #b54208;
  box-shadow: 0 4px 16px rgba(204, 78, 10, 0.25);
}

.btn-primary:active {
  transform: scale(0.98);
}

.btn-secondary {
  background: var(--color-main);
  color: var(--color-white);
}

.btn-secondary:hover {
  background: #1a3347;
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--color-main);
  color: var(--color-main);
}

.btn-outline:hover {
  background: var(--color-main-fade);
}

/* ============================================================
   PAGE TITLE SECTION
   ============================================================ */
.page-title-section {
  padding: var(--space-xl) 0 var(--space-md);
}

.page-title-section h1 {
  font-size: 26px;
  font-weight: 800;
  text-align: center;
  line-height: 1.3;
}

/* ============================================================
   INFO BANNER
   ============================================================ */
.info-banner {
  background: var(--color-info-fade);
  border-left: 4px solid var(--color-info);
  border-radius: var(--radius-sm);
  padding: var(--space-md);
  margin-bottom: var(--space-lg);
  font-size: 14px;
  font-weight: 500;
  color: var(--color-main);
  line-height: 1.5;
  text-align: center;
}

.info-banner.info-inline {
  text-align: left;
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
}

.info-banner .info-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: var(--color-info);
  margin-top: 2px;
}

/* ============================================================
   FORM SECTIONS
   ============================================================ */
.form-section {
  margin-bottom: var(--space-xl);
  padding-bottom: var(--space-xl);
  border-bottom: 1px solid var(--color-border);
}

.form-section:last-child {
  border-bottom: none;
}

.form-section-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--color-info);
  text-align: center;
  margin-bottom: var(--space-md);
}

.form-section-subtitle {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-main);
  margin-bottom: var(--space-xs);
}

.requirements-list {
  margin-bottom: var(--space-sm);
  padding-left: 4px;
}

.requirements-list li {
  font-size: 14px;
  color: var(--color-text);
  padding: 3px 0;
  display: flex;
  align-items: flex-start;
  gap: 6px;
  line-height: 1.4;
}

.requirements-list li::before {
  content: '·';
  color: var(--color-main);
  font-weight: 700;
  flex-shrink: 0;
}

.format-info {
  font-size: 13px;
  font-weight: 700;
  color: var(--color-main);
  margin-bottom: var(--space-md);
  line-height: 1.7;
}

/* ============================================================
   FORM FIELDS
   ============================================================ */
.form-group {
  margin-bottom: var(--space-md);
}

.form-label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--color-main);
  margin-bottom: 6px;
}

.form-label.required::after {
  content: ' *';
  color: var(--color-error);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 12px 14px;
  font-family: var(--font-main);
  font-size: 15px;
  color: var(--color-text);
  background: var(--color-white);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  -webkit-appearance: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--color-info);
  box-shadow: 0 0 0 3px rgba(12, 123, 145, 0.12);
}

.form-input.error,
.form-select.error {
  border-color: var(--color-error);
  box-shadow: 0 0 0 3px rgba(212, 45, 2, 0.10);
}

.form-input.success,
.form-select.success {
  border-color: var(--color-success);
}

.form-hint {
  font-size: 12px;
  color: var(--color-text-light);
  margin-top: 4px;
}

.form-error {
  font-size: 12px;
  color: var(--color-error);
  margin-top: 4px;
  display: none;
}

.form-error.visible {
  display: block;
}

/* ============================================================
   CHECKBOX
   ============================================================ */
.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
}

.checkbox-group input[type="checkbox"] {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
  accent-color: var(--color-main);
  cursor: pointer;
}

.checkbox-group label {
  font-size: 13px;
  line-height: 1.5;
  color: var(--color-text);
  cursor: pointer;
}

/* ============================================================
   NAVIGATION BUTTONS (step footer)
   ============================================================ */
.step-actions {
  margin-top: var(--space-xl);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

/* ============================================================
   ALERTS / VALIDATION MESSAGES
   ============================================================ */
.alert {
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: var(--space-md);
}

.alert-success {
  background: var(--color-success-fade);
  color: var(--color-success);
  border-left: 3px solid var(--color-success);
}

.alert-error {
  background: var(--color-error-fade);
  color: var(--color-error);
  border-left: 3px solid var(--color-error);
}

.alert-warning {
  background: var(--color-warning-fade);
  color: #7a5700;
  border-left: 3px solid var(--color-warning);
}

.alert-info {
  background: var(--color-info-fade);
  color: var(--color-info);
  border-left: 3px solid var(--color-info);
}

/* ============================================================
   LIGHTBOX
   ============================================================ */
#lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 10000;
}

#lightbox_bg {
  position: absolute;
  inset: 0;
  background: rgba(37, 70, 95, 0.55);
}

#lightbox_load {
  display: none;
}

#lightbox_html {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.lightbox_content {
  display: none;
  width: min(520px, 100%);
  padding: 36px 32px 32px;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 18px 48px rgba(10, 31, 46, 0.24);
  color: #25465F;
  text-align: center;
}

.lightbox_text {
  margin: 0;
  color: #25465F;
  font-family: "BouyguesRead-Regular", Arial, Helvetica, sans-serif;
  font-size: 18px;
  line-height: 1.55;
  text-align: center;
}

.lightbox_content .bouton {
  margin-top: 28px;
}

.lightbox_content .bouton a,
.lightbox_content .bouton2 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 200px;
  min-height: 46px;
  padding: 12px 28px;
  border-radius: 4px;
  background: #D34B00;
  color: #fff;
  font-family: "BouyguesRead-Semibold", Arial, Helvetica, sans-serif;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
}

.lightbox_content .bouton a:hover,
.lightbox_content .bouton2:hover {
  background: #C54400;
}

.lightbox_close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 28px;
  height: 28px;
  cursor: pointer;
}

.lightbox_close .bar {
  position: absolute;
  top: 13px;
  left: 5px;
  width: 18px;
  height: 2px;
  background: #25465F;
}

.lightbox_close .top {
  transform: rotate(45deg);
}

.lightbox_close .bottom {
  transform: rotate(-45deg);
}

@media (max-width: 640px) {
  #lightbox_html {
    padding: 18px;
  }

  .lightbox_content {
    padding: 30px 22px 26px;
  }

  .lightbox_text {
    font-size: 16px;
  }

  .lightbox_content .bouton a,
  .lightbox_content .bouton2 {
    width: 100%;
  }
}

/* ============================================================
   LOADER / SPINNER
   ============================================================ */
.spinner {
  width: 24px;
  height: 24px;
  border: 3px solid var(--color-grey-fade);
  border-top-color: var(--color-info);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  margin: var(--space-md) auto;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (min-width: 600px) {
  h1 {
    font-size: 30px;
  }

  .container {
    padding: 0 var(--space-lg);
  }
}

/* ============================================================
   RESPONSIVE — DESKTOP (≥ 900px)
   ============================================================ */

/* Container widens on desktop */
@media (min-width: 1200px) {
  :root {
    --container-max: 1200px;
  }

  /* Header height increase */
  .site-header .container {
    height: 68px;
  }

  /* Desktop nav appears */
  .desktop-nav {
    display: flex;
    align-items: center;
    gap: 4px;
  }

  .nav-toggle {
    display: none;
  }

  /* Footer links become horizontal */
  .footer-links {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px 28px;
  }

  /* Step bar — desktop dot nav */
  .step-bar-label,
  .step-segments,
  .step-bar-counter {
    display: none;
  }

  .step-desktop-nav {
    display: flex;
  }

  /* Step page: centered form column */
  .form-container {
    max-width: 720px;
    margin: 0 auto;
  }

  /* Page heading — left aligned on desktop */
  .page-title-section h1 {
    text-align: left;
    font-size: 32px;
  }

  /* Step actions — row reverse on desktop */
  .step-actions {
    flex-direction: row-reverse;
    align-items: center;
    gap: 16px;
  }

  .step-actions .btn {
    width: auto;
    min-width: 200px;
  }

  /* Two-column form fields */
  .two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }

  /* Section cards get more padding */
  .form-section {
    padding: 32px;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 12px;
    margin-bottom: 20px;
  }

  .form-section+.form-section {
    border-top: 1px solid var(--color-border);
  }

  /* Dropzone horizontal on desktop */
  .dropzone {
    flex-direction: row;
    padding: 18px 24px;
    gap: 18px;
    text-align: left;
    min-height: 86px;
  }

  .dropzone-icon {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
  }

  /* Homepage - two column layout */
  .home-hero-mobile {
    display: none !important;
  }

  .home-hero-desktop {
    display: grid !important;
  }
}

/* ============================================================
   HOMEPAGE DESKTOP HERO
   ============================================================ */
.home-hero-desktop {
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding: 80px 0;
}

.home-hero-desktop h1 {
  font-size: 42px;
  font-weight: 900;
  color: var(--color-main);
  line-height: 1.15;
  margin-bottom: 16px;
}

.home-hero-desktop .home-tagline {
  font-size: 17px;
  color: var(--color-text-light);
  line-height: 1.65;
  margin-bottom: 32px;
}

.home-hero-desktop .cta-row {
  display: flex;
  align-items: center;
  gap: 20px;
}

.home-hero-desktop .cta-row .btn {
  width: auto;
  padding: 15px 40px;
  font-size: 16px;
}

.home-hero-desktop .cta-secondary {
  font-size: 14px;
  color: var(--color-text-light);
  cursor: pointer;
  transition: color 0.2s;
}

.home-hero-desktop .cta-secondary:hover {
  color: var(--color-main);
}

/* ============================================================
   HEADER / FOOTER COMMUNS
   Structure partagee par include/header2.php et include/footer.php
   ============================================================ */

#main-header {
  position: relative;
  z-index: 100;
  width: 100%;
  background: var(--color-white);
  border-bottom: 1px solid var(--color-border);
}

.header-container {
  width: 100%;
  max-width: 1200px;
  height: 60px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

#logo {
  display: flex;
  align-items: center;
  order: 1;
}

#logo a {
  display: flex;
  align-items: center;
}

#logo img {
  width: auto;
  height: 34px;
  display: block;
}

#main-header #icon_menu {
  order: 2;
  z-index: 20;
  position: relative;
  width: 40px;
  height: 40px;
  padding: 10px 0;
  cursor: pointer;
  background-color: transparent;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  box-sizing: border-box;
}

#main-header #icon_menu .bar {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-main);
  border-radius: 2px;
  transition: all .4s ease;
}

#main-header #icon_menu.open .top {
  transform: translateY(7px) rotateZ(45deg);
}

#main-header #icon_menu.open .bottom {
  transform: translateY(-7px) rotateZ(-45deg);
}

#main-header #icon_menu.open .middle {
  width: 0;
}

#main-header #menu {
  order: 3;
  z-index: 15;
  position: absolute;
  display: none;
  top: 60px;
  left: 0;
  width: 100%;
  padding: 8px 0 900px;
  margin: 0;
  background-color: var(--color-white);
  border-bottom: 1px solid var(--color-border);
  box-shadow: 0 4px 16px rgba(37, 70, 95, 0.10);
  list-style: none;
}

#main-header #menu li {
  display: inline-flex;
flex-direction: column;
align-items: flex-start;
gap: 32px;
  float: none;
  width: 100%;
  list-style: none;
  text-align: center;
}

#main-header #menu li:first-child {
  margin-top: 10px;
}

#main-header #menu li:last-child {
  margin-bottom: 10px;
}

#main-header #menu li a {
  color: var(--Main, #25465F);
  text-align: center;
  font-family: "BouyguesRead-Semibold" !important;
  font-size: 14px;
  font-style: normal;
  font-weight: 100;
  line-height: 18px;
  /* 128.571% */
  text-transform: uppercase;
  display: block;
  padding: 11px 20px;
  color: #25465F;
  text-decoration: none;
}


#menu_bg {
  z-index: 12;
  display: none;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  position: fixed;
  background: transparent;
}

footer {
  position: relative;
  width: 100%;
  background: var(--color-main);
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

#bl_footer {
  min-height: 72px;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo_footer {
  width: 210px;
  max-width: 80%;
  height: auto;
}

@media (min-width: 1200px) {
  .header-container {
    height: 68px;
    padding: 0 24px;
  }

  #main-header #icon_menu {
    display: none;
  }

  #main-header #menu {
    position: static;
    width: auto;
    padding: 0;
    display: flex !important;
    align-items: center;
    gap: 4px;
    background: transparent;
    border-bottom: 0;
    box-shadow: none;
  }

  #main-header #menu li,
  #main-header #menu li:first-child,
  #main-header #menu li:last-child {
    width: auto;
    margin: 0;
  }

  #main-header #menu li a {
 color: var(--Main, #25465F);
  text-align: center;
  font-family: "BouyguesRead-Regular" !important;
  font-size: 14px;
  font-style: normal;
  font-weight: 100;
  line-height: 18px;
  /* 128.571% */
  text-transform: uppercase;
  display: block;
  padding: 11px 20px;
  color: #25465F;
  text-decoration: none;
  }

  /* #main-header #menu li a:hover,
  #main-header #menu li a.active {
    color: var(--color-main);
    background: var(--color-main-fade);
  } */

  #bl_footer {
    min-height: 48px;
    padding: 9px 24px;
  }

  .logo_footer {
    width: 130px;
  }
}

/* Home Page */
.home-page {
  background: #FFF;
  min-height: calc(100vh - 140px);
}

.home-container {
  width: 100%;
  max-width: none;
  margin: 0 auto;
  padding: 48px 50px 42px;
}


.home-title {
  margin: 0 0 42px;
  font-family: 'BouyguesSpeak-Bold' !important;
  text-align: center;

  color: #284b68;

  font-size: 30px;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: 0;
}

.home-title-main {
  font-size: 39px;
}

.desktop-break {
  display: block;
}

.home-visual {
  width: 100%;
  max-width: 1340px;
  aspect-ratio: 4096 / 2730;
  margin: 0 auto;
  overflow: visible;
}

.home-visual picture,
.home-visual img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  display: block;
}

.home-visual-placeholder {
  width: 100%;
  height: 100%;
  background: #e3e8ee;
}

.home-cta {
  display: flex;
  justify-content: center;

  margin-top: 63px;
}

.btn-home {
 font-family: 'BouyguesRead-Regular' !important;
  min-width: 200px;
  height: 58px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 13px 62px;

  background: #d85a00;
  color: #fff;

  font-size: 20px;
  font-weight: 700;

  border-radius: 4px;

  text-decoration: none;

  transition: all .2s ease;
}

.btn-home:hover {
  background: #bf4f00;
  color: #fff;
}

@media screen and (max-width:1024px) {

  .home-container {
    padding: 40px 24px 60px;
  }

  .home-title {
    font-family: 'BouyguesSpeak-Bold' !important;

    font-size: 30px;
    line-height: 1.2;
    margin-bottom: 32px;
  }

  .home-visual {
    height: auto;
  }

  .btn-home {
    min-width: 180px;
    height: 54px;
    font-size: 26px;
  }
}

@media screen and (max-width:1194px) {

  .home-page {
    min-height: auto;
  }

  .home-container {
    padding:
      28px 16px 40px;
  }

  .home-title {
    font-family: 'BouyguesSpeak-Bold' !important;

    color: var(--Main, #25465F);
    text-align: center;
    font-size: 20px;
    font-style: normal;
    font-weight: 700;
    line-height: 34px;
    /* 121.429% */
  }

  .home-title-main {
    font-size: 1.02em;
  }

  .desktop-break {
    display: none;
  }

  .home-visual {
    width: 100%;
    max-width: 1340px;
    margin: 28px auto 0;
    overflow: visible;
    border-radius: 4px;
  }

  .home-visual picture,
  .home-visual img {
    width: 100%;
    height: 100%;
  }

  .home-visual img {
    object-fit: contain;
    object-position: center center;
  }

  .home-cta {
    margin-top: 32px;
  }

  .btn-home {
    width: 100%;
    max-width: 280px;
    font-family: 'BouyguesRead-Regular' !important;
    height: 50px;
    font-size: 16px;
  }
}

/* Step desktop nav */
.step-desktop-nav {
  display: none;
  align-items: center;
  flex: 1;
  max-width: 800px;
}

.step-desktop-item {
  display: flex;
  align-items: center;
  flex: 1;
}

.step-dot-circle {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid var(--color-grey);
  background: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: var(--color-grey);
  flex-shrink: 0;
}

.step-desktop-item.active .step-dot-circle {
  border-color: var(--color-main);
  background: var(--color-main);
  color: var(--color-white);
}

.step-desktop-item.done .step-dot-circle {
  border-color: var(--color-info);
  background: var(--color-info);
  color: var(--color-white);
}

.step-dot-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--color-text-light);
  white-space: nowrap;
  margin-left: 8px;
}

.step-desktop-item.active .step-dot-label {
  color: var(--color-main);
  font-weight: 700;
}

.step-desktop-item.done .step-dot-label {
  color: var(--color-info);
}

.step-dot-line {
  flex: 1;
  height: 3px;
  background: var(--color-grey);
  border-radius: 2px;
  margin: 0 10px;
}

.step-desktop-item.done .step-dot-line {
  background: var(--color-info);
}


/* ============================================================
   HEADER — mirrors company style.css conventions
   #icon_menu, #menu, #menu_bg, #header_nav
   ============================================================ */

header {
  z-index: 10;
  position: relative;
  width: 100%;
  background: var(--color-white);
  border-bottom: 1px solid var(--color-border);
}

#header {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
#header_logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

#header_logo img {
  height: 34px;
  width: auto;
  display: block;
}

/* Hamburger icon — same IDs/classes as company scripts.js */
#icon_menu {
  z-index: 20;
  position: relative;
  width: 40px;
  height: 40px;
  padding: 10px 0;
  cursor: pointer;
  background-color: transparent;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  box-sizing: border-box;
}

#icon_menu .bar {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-main);
  border-radius: 2px;
  -webkit-transition: all .4s ease;
  transition: all .4s ease;
}

/* Open state — same transforms as company style.css */
#icon_menu.open .top {
  -webkit-transform: translateY(7px) rotateZ(45deg);
  transform: translateY(7px) rotateZ(45deg);
}

#icon_menu.open .bottom {
  -webkit-transform: translateY(-7px) rotateZ(-45deg);
  transform: translateY(-7px) rotateZ(-45deg);
}

#icon_menu.open .middle {
  width: 0;
}

/* Mobile dropdown menu — controlled by scripts.js openMenu */
#menu {
  z-index: 15;
  position: absolute;
  display: none;
  top: 60px;
  left: 0;
  width: 100%;
  background-color: var(--color-white);
  border-bottom: 1px solid var(--color-border);
  padding: 8px 0 16px;
  margin: 0;
  list-style: none;
  box-shadow: 0 4px 16px rgba(37, 70, 95, 0.10);
}

#menu li {
  float: left;
  width: 100%;
  list-style: none;
  text-align: center;
}

#menu li:first-child {
  margin-top: 10px;
}

#menu li:last-child {
  margin-bottom: 10px;
}


/* Menu background overlay */
#menu_bg {
  z-index: 12;
  display: none;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  position: fixed;
  background: none;
}

/* Desktop nav links — hidden on mobile */
#header_nav {
  display: none;
  align-items: center;
  gap: 4px;
}

#header_nav .nav_link {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text-light);
  text-decoration: none;
  padding: 7px 13px;
  border-radius: 6px;
  white-space: nowrap;
  transition: color 0.2s, background 0.2s;
}

#header_nav .nav_link:hover,
#header_nav .nav_link_active {
  color: var(--color-main);
  background: var(--color-main-fade);
  font-weight: 700;
}


/* ============================================================
   FOOTER — mirrors company style.css footer conventions
   ============================================================ */

footer {
  position: relative;
  width: 100%;
  background: var(--color-main);
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  overflow: hidden;
}

#footer {
  width: 92%;
  margin: 20px 4%;
  overflow: hidden;
}

footer ul {
  float: left;
  width: 100%;
  text-align: center;
  padding: 0;
  margin: 0;
}

footer li {
  float: left;
  width: 100%;
  list-style: none;
}

footer li a {
  font-size: 13px;
  line-height: 28px;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
}

footer li a:hover {
  color: #fff;
  text-decoration: underline;
}


/* ============================================================
   DESKTOP  >= 1200px
   ============================================================ */
@media (min-width: 1200px) {

  /* Header height */
  #header {
    height: 68px;
    padding: 0 24px;
  }

  /* Hide hamburger, show desktop nav */
  #icon_menu {
    display: none;
  }

  #header_nav {
    display: flex;
  }

  /* Menu should never show on desktop */
  #menu {
    display: none !important;
  }

  /* Footer links go horizontal */
  footer ul {
    text-align: center;
  }

  footer li {
    float: none;
    display: inline-block;
    width: auto;
  }

  footer li+li::before {
    content: ' · ';
    color: rgba(255, 255, 255, 0.4);
  }

  footer li a {
    font-size: 13px;
  }
}
