@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@300;400;700&display=swap');

body {
    font-family: "Nunito", sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    color: #333;
}

/* Style du logo dans l'en-tête */
.logo img {
    width: 140px; /* Largeur définie */
    height: auto; /* Hauteur ajustée proportionnellement */
    display: block;
}

/* Centrer le logo verticalement dans le header */
header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

/* Espacement entre le logo et la navigation */
.logo {
    display: flex;
    align-items: center;
	margin: 0 auto;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px;
}

header {
    background: #029bd8;
    color: #fff;
    padding: 0;
    text-align: center;
}

header nav {
    flex: 1;
    text-align: right;
}

  header nav ul {
        display: none;
        text-align: center;
        background: #029bd8;
        padding: 0;
        position: absolute;
        width: 100%;
        top: 90px;
        left: 0; border-bottom: 5px solid #FFF;
    }

    header nav ul.open {
        display: block;
		padding-bottom: 15px;
    }
	
	header nav ul li {
    display: inline;
    margin: 0;
		position: relative; float: left; width: 100%; padding-top: 10px; padding-bottom: 10px;}



header nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}

.btn-menu {
    background: white;
    color: #029bd8;
    padding: 10px 15px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    border: 2px solid #029bd8;
}

.btn-menu:hover {
    background: #0056b3;
    color: white;
}

.hero {
    text-align: center;
	padding-top: 20px;
	padding-right: 20px;
	padding-left: 20px;
	padding-bottom: 35px;
    background: white;
    margin: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
	color: #fff;
	font-weight: bold;
}

.hero h2{font-size: 28px; text-transform: uppercase;}
.hero p{font-size: 20px;}

.call-button {
    display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
    background: #049bd8;
    color: white;
    padding: 15px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    margin-top: 10px;
	border: 2px solid #FFF;
	text-shadow: none;
	font-size: 18px;
	width: 230px;
	font-size: 26px;
}

.call-button:hover {
    background: #0056b3;
}

.call-button .phone-icon {
    font-size: 24px;
    line-height: 1.2;
	display: inline-block;
}

.validation-list {
    list-style: none;
    padding: 0;
    margin: 15px 0;
    text-align: left;
    display: inline-block; /* pour centrer si tu veux */
}

.validation-list li {
    font-size: 18px;
    color: #203f97;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
}

.validation-list i.fa-check {
    color: #39a102;          /* vert validation */
    font-size: 16px;
    background: #e8ffe8;     /* pastille douce */
    padding: 4px;
    border-radius: 50%;
    flex-shrink: 0;
}

.hero-photo {
    margin-top: 20px;
}

.hero-photo img {
    width: 100%;
    max-width: 900px;      /* pour éviter qu’elle prenne toute la largeur sur les grands écrans */
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    object-fit: cover;
}


/* Conteneur de l'image affichée après le clic sur le bouton "Appeler le 3240" */
.cartouche-3240 {
    text-align: center;
    margin-top: 15px;
}

.cartouche-3240 img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* Caché par défaut */
.hidden {
    display: none;
}

.services-highlights {
    background: #d1f2ff;
    padding: 20px 20px;
    text-align: center;
    margin: 20px;
    border-radius: 10px;
}

.services-highlights h2 {
    font-size: 26px;
    color: #023b51;
    margin-bottom: 10px;margin-top: 10px;
    font-weight: bold;
}

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

.highlight-box {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    transition: transform 0.2s ease-in-out;
}

.highlight-box:hover {
    transform: translateY(-5px);
}

.highlight-box img {
    width: 60px;
    height: 60px;
}

.highlight-box h3 {
    font-size: 18px;
    color: #029bd8;
    margin-bottom: 10px;
}

.highlight-box p {
    font-size: 15px;
    color: #333;
    line-height: 1.5;
}



.services {
    text-align: center;
    padding: 40px 20px;
    background: #049bd8;
    margin: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
	color: #023b51;
}

.services ul {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    padding: 0;
    list-style: none;
}

.services ul li {
	display: flex;
    align-items: center; 
    justify-content: center;
    background: white;
    border-radius: 10px;
    padding: 15px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: 0.3s ease-in-out;
}

.services ul li:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.services ul li a {
    text-decoration: none;
    font-weight: bold;
    color: #029bd8;
    display: block;
    padding: 10px 0;
}


footer {
    background: #029bd8;
    color: white;
    text-align: center;
    padding: 15px 0;
    margin-top: 20px;
}

/* Style de la navigation dans le footer */
footer nav {
    text-align: center;
    margin-bottom: 10px;
}

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

footer nav ul li {
    display: inline-block;
    margin: 0 10px;
}

footer nav ul li a {
    color: white;
    text-decoration: none;
    font-size: 14px;
    font-weight: bold;
    transition: color 0.3s ease-in-out;
}

footer nav ul li a:hover {
    color: #f0f0f0;
}

/* Barre sticky mobile "Appeler" en bas d'écran */
.mobile-sticky-call {
    display: none; /* cachée par défaut (desktop) */
}

/* Version mobile uniquement */
@media (max-width: 768px) {
    body {
        padding-bottom: 90px; /* pour ne pas cacher le contenu derrière la barre */
    }

    .mobile-sticky-call {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 1000;
        background: linear-gradient(135deg, #029bd8, #046fbb);
        box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.15);
        padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
        display: block;
    }

    .mobile-sticky-inner {
        max-width: 1200px;
        margin: 0 auto;
        display: flex;
        align-items: center;
        gap: 12px;
    }

    .mobile-sticky-text {
        flex: 1;
        text-align: left;
        color: #ffffff;
        font-size: 13px;
        line-height: 1.3;
    }

    .mobile-sticky-eyebrow {
        display: block;
        font-size: 11px;
        text-transform: uppercase;
        letter-spacing: 0.08em;
        opacity: 0.9;
        margin-bottom: 2px;
        font-weight: 700;
    }

    .mobile-sticky-main {
        display: block;
        font-size: 20px;
        font-weight: 700;
    }

    .mobile-sticky-btn {
        width: auto;                 /* pas 230px sur mobile pour la barre */
        padding: 10px 18px;
        font-size: 16px;
        border-radius: 999px;        /* pill organique */
        border: 2px solid #ffffff;
        background: #04b0e8;
        box-shadow: 0 4px 10px rgba(0,0,0,0.18);
        flex-shrink: 0;
    }

    .mobile-sticky-btn:hover {
        background: #008bc3;
    }

    .mobile-sticky-btn .phone-icon {
        font-size: 18px;
    }
}


.menu-toggle {
    display: block;
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer; margin-left: 12px;
}

.btn-consultation-header {
    background: #ffffff;
    color: #029bd8;
    padding: 10px 16px;
    border-radius: 6px;
    font-weight: bold;
    text-decoration: none;
    border: 2px solid #ffffff;
    transition: all 0.3s ease;
    font-size: 16px;
    white-space: nowrap;
    margin-left: 15px; /* Espace entre menu et bouton */
}

.btn-consultation-header:hover {
    background-color: #ffffff;
    color: #007bbf;
    border-color: #007bbf;
}

/* Bloc de texte SEO avant le footer */
.seo-text {
  padding: 0 20px;
  margin: 20px auto;
  max-width: 1100px;
  animation: fadeIn 0.8s ease-in-out;
}
.seo-text2 {
	max-width: 900px;
	padding: 40px 20px;
  margin: 20px auto;
  animation: fadeIn 0.8s ease-in-out;
}

@keyframes fadeIn {
  from {opacity: 0; transform: translateY(20px);}
  to {opacity: 1; transform: translateY(0);}
}

.seo-heading {
  text-align: center;
  font-size: 26px;
  color: #023b51;
  font-weight: bold;
  margin-bottom: 40px;
}

.seo-cards {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 40px;
}

.seo-card {
  background: #f4faff;
  border-radius: 10px;
  padding: 20px;
  width: 300px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.04);
  transition: transform 0.3s ease;
}

.seo-card:hover {
  transform: translateY(-5px);
}

.seo-icon {
  width: 150px;
  height: 150px;
  margin-bottom: 15px;
}

.seo-card h3 {
  font-size: 18px;
  color: #029bd8;
  margin-bottom: 10px;
}

.seo-card p {
  font-size: 15px;
  color: #444;
}

.seo-faq {
  margin-top: 0; margin-bottom: 30px;
}

.seo-faq-item {
  margin-bottom: 20px;
  background: #fdfdfd;
  padding: 15px 20px;
  border-radius: 8px;
  border-left: 5px solid #029bd8;
  box-shadow: 0 2px 6px rgba(0,0,0,0.03);
}

.seo-faq-item h3 {
  font-size: 17px;
  color: #007bbf;
  margin-bottom: 6px;
}

.seo-faq-item p {
  font-size: 15px;
  margin: 0;
}

.seo-call .call-button {
  background: #39a102;
  color: #fff;
  padding: 14px 28px;
  border-radius: 6px;
  font-weight: bold;
  text-decoration: none;
  font-size: 17px;
  transition: background 0.3s ease;
}

.seo-call .call-button:hover {
  background: #2b7b02;
}

.seo-flow {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.seo-flow-step {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

.seo-flow-step.reverse {
  flex-direction: row-reverse;
}

.seo-flow-img {
  flex: 1;
  text-align: center;
}

.seo-flow-text {
  flex: 2;
}

.seo-bubbles {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.seo-bubble {
  display: flex;
  align-items: center;
  background: #eafaff;
  padding: 20px 25px;
  border-radius: 25px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.06);
  position: relative;
  gap: 20px;
}

.seo-bubble.reverse {
  flex-direction: row;
  background: #fff;
}

.seo-bubble-icon {
  width: 150px;
  height: 150px;
  flex-shrink: 0;
}

.seo-bubble p {
  margin: 0;
  font-size: 16px;
  color: #023b51;
  line-height: 1.6;
}



@media (max-width: 768px) {
  .seo-cards {
    flex-direction: column;
    align-items: center;
  }

  .seo-card {
    width: 100%;
    max-width: 90%;
  }

  .seo-icon {
    width: 150px;
    height: 150px;
  }
	.seo-flow-step,
  .seo-flow-step.reverse {
    flex-direction: column;
    text-align: center;
  }

  .seo-flow-img,
  .seo-flow-text {
    flex: unset;
    width: 100%;
  }
	.seo-bubble,
  .seo-bubble.reverse {
    flex-direction: column;
    text-align: center;
  }

  .seo-bubble-icon {
    margin-bottom: 10px;
  }
}



/* Formulaire de contact */
form.contact-form {
    max-width: 600px;
    margin: 0 auto;
    padding: 2rem;
    background-color: #f7f7f7;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

form.contact-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

form.contact-form input[type="text"],
form.contact-form input[type="email"],
form.contact-form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 1rem;
    font-family: inherit;
}

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

form.contact-form input[type="checkbox"] {
    margin-right: 8px;
}

form.contact-form .checkbox-group {
    margin-bottom: 20px;
    font-size: 0.95rem;
    line-height: 1.5;
    color: #555;
}

form.contact-form button {
    background-color: #0078cc;
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s ease;
}

form.contact-form button:hover {
    background-color: #005fa3;
}


@media (max-width: 768px) {
	.btn-consultation-header { display: none;
    font-size: 15px;
    padding: 8px 12px;
    margin-right: 8px;
  }
  
}

/* Overlay pleine page */
.cc-overlay{position: fixed; inset: 0;background: rgba(0,0,0,.55);z-index: 2000;animation: ccFadeIn .18s ease-out;}

/* Carte centrale */
.cc-modal{
  position: fixed;
  left: 50%; top: 50%;
  transform: translate(-50%,-50%);
  width: min(640px, 92vw);
  background: #fff; border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0,0,0,.2);
  padding: 20px 24px 16px; z-index: 2001;
  animation: ccFadeScaleIn .18s cubic-bezier(.2,.6,.2,1);
  transform-origin: center;
}

/* En-tête (logo + close) */
.cc-header{
  display:flex; align-items:center; justify-content: space-between;
  margin-bottom: 8px;
}
.cc-logo{ height: 22px; width: auto; }
.cc-close{border: 0; background: transparent; font-size: 28px; line-height: 1;cursor: pointer; color: #444; display: none;}

/* Titre/texte */
.cc-title{
  font-size: 20px; line-height: 1.2; font-weight: 700; margin: 6px 0 10px;
}
.cc-text{
  font-size: 14px; line-height: 1.5; color: #333; margin: 0 0 16px;
}
.cc-link{ color: #107aca; text-decoration: underline; }  /* bleu de votre charte */

/* Boutons */
.cc-actions{ display:flex; justify-content:flex-end; gap: 12px; }
.cc-btn{
  appearance:none; border: 0; cursor:pointer; border-radius: 8px;
  padding: 16px 20px; font-weight: 700; font-size: 16px;
}
.cc-btn-accept{
  background: #107aca;
  color: #fff;
  box-shadow: 0 6px 16px rgba(255,106,0,.35);
}
.cc-btn-accept:hover{ filter: brightness(0.95); }

/* Mobile : aspect “bottom sheet” */
@media (max-width: 480px){
  .cc-modal{
    left: 50%; top: auto; bottom: 10px; transform: translateX(-50%);
    width: calc(100vw - 20px); border-radius: 16px;
    padding: 18px 16px 14px;
    animation: ccRiseIn .22s cubic-bezier(.2,.6,.2,1);
  }
  .cc-title{ font-size: 18px; }
  .cc-text{ font-size: 13px; }
  .cc-actions{ justify-content: center; }
}

/* Motion reduction */
@media (prefers-reduced-motion: reduce){
  .cc-overlay, .cc-modal{ animation: none !important; }
}
