/**
* Template Confluent Digital — Landing "Assurance Animaux"
* Basé sur le template Bootslander (BootstrapMade) — porté en website.css
* Chargé APRÈS bundle.min.css (voir templates/1/cadre/header.twig)
* NB: les règles globales parasites (body, *, a) du widget pricing d'origine
*     ont été volontairement retirées pour ne pas casser la typo du site.
*/

/*--------------------------------------------------------------
# Font & Color Variables
--------------------------------------------------------------*/
:root {
  --default-font: "Roboto", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --heading-font: "Raleway", sans-serif;
  --nav-font: "Poppins", sans-serif;
}

:root {
  --background-color: #ffffff;
  --default-color: #444444;
  --heading-color: #000000;
  --accent-color: #A64265;
  --surface-color: #ffffff;
  --contrast-color: #073742;
}

.light-background {
  --background-color: #f4f5fe;
  --surface-color: #ffffff;
}

.dark-background {
  --background-color: #f1faff;
  --default-color: #073742;
  --heading-color: #459997;
  --surface-color: #FFF;
  --contrast-color: #A64265;
}

:root {
  scroll-behavior: smooth;
}

/*--------------------------------------------------------------
# General Styling & Shared Classes
--------------------------------------------------------------*/
body {
  color: var(--default-color);
  background-color: var(--background-color);
  font-family: var(--default-font);
}

a {
  color: var(--accent-color);
  text-decoration: none;
  transition: 0.3s;
}

a:hover {
  color: color-mix(in srgb, var(--accent-color), transparent 25%);
  text-decoration: none;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--heading-color);
  font-family: var(--heading-font);
}

/*--------------------------------------------------------------
# Global Header
--------------------------------------------------------------*/
.header {
  --default-color: #ffffff;
  --heading-color: #ffffff;
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 0px 0;
  transition: all 0.5s;
  z-index: 997;
}

.header .logo {
  line-height: 1;
}

.header .logo img {
  max-height: 75px;
  margin-right: 8px;
  margin-top: 8px;
  margin-bottom: 8px;
}

.header .logo h1 {
  font-size: 30px;
  margin: 0;
  font-weight: 700;
  color: var(--heading-color);
}

/* Override : logo + mention "en partenariat avec" sur une seule ligne */
.header .row > [class*="col-"] {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
}

.header .bloc_textes,
.header .bloc_texte_1,
.header .bloc_texte_2 {
  display: flex;
  align-items: center;
  gap: 8px;
}

.header .bloc_texte_1 img,
.header .bloc_texte_2 img {
  max-height: 45px;
}

/*--------------------------------------------------------------
# Global Footer (classes partagées avec cadre/footer.twig)
--------------------------------------------------------------*/
.footer {
  color: color-mix(in srgb, var(--surface-color), transparent 30%);
  background-color: #333333;
  font-size: 14px;
  position: relative;
  text-align: center;
}

.footer .footer-top {
  padding-top: 50px;
  text-align: center;
}

.footer .footer-about .logo {
  line-height: 1;
  margin-bottom: 25px;
}

.footer .footer-about .logo img {
  max-height: 80px;
  margin-right: 6px;
}

.footer .footer-about .logo span {
  color: var(--surface-color);
  font-family: var(--heading-font);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 1px;
}

.footer .footer-about p {
  font-size: 11px;
  font-family: var(--heading-font);
}

.footer h4 {
  font-size: 16px;
  font-weight: bold;
  position: relative;
  padding-bottom: 12px;
  color: var(--surface-color);
}

.footer .footer-links {
  margin-bottom: 0px;
  text-align: center;
}

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

.footer .footer-links ul li {
  padding: 0;
  align-items: center;
}

.footer .footer-links ul a,
.footer .footer-links ul .btn-link {
  color: color-mix(in srgb, var(--surface-color), transparent 30%);
  display: inline-block;
  line-height: 1;
  background: none;
  border: 0;
}

.footer .footer-links ul a:hover,
.footer .footer-links ul .btn-link:hover {
  color: var(--accent-color);
}

.footer .footer-legal small {
  color: color-mix(in srgb, var(--surface-color), transparent 40%);
  font-size: 11px;
  font-family: var(--heading-font);
}

.footer .copyright {
  padding: 25px 10px;
  border-top: 1px solid color-mix(in srgb, var(--surface-color), transparent 90%);
}

.footer .copyright p {
  margin-bottom: 0;
}

/*--------------------------------------------------------------
# Scroll Top Button
--------------------------------------------------------------*/
.scroll-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: 15px;
  z-index: 99999;
  background-color: var(--accent-color);
  width: 40px;
  height: 40px;
  border-radius: 4px;
  transition: all 0.4s;
}

.scroll-top i {
  font-size: 24px;
  color: var(--surface-color);
  line-height: 0;
}

.scroll-top:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 20%);
  color: var(--contrast-color);
}

.scroll-top.active {
  visibility: visible;
  opacity: 1;
}

/*--------------------------------------------------------------
# Global Sections
--------------------------------------------------------------*/
section, .section {
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 60px 0;
  scroll-margin-top: 100px;
  overflow: clip;
}

@media (max-width: 1199px) {
  section, .section {
    scroll-margin-top: 66px;
  }
}

/* Le wrapper du "Bloc HTML personnalisé" ne doit pas ajouter de padding :
   c'est la section interne (LP) qui gère son espacement. */
.bloc-html-personnalise.section {
  padding: 0;
  overflow: visible;
  background-color: transparent;
}

/*--------------------------------------------------------------
# Global Section Titles
--------------------------------------------------------------*/
.section-title {
  padding-bottom: 0;
  position: relative;
}

.section-title h1 {
  font-size: 35px;
  font-weight: 800;
  text-align: center;
  margin: 0;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--accent-color);
  position: relative;
}

.section-title h2 {
  font-size: 25px;
  font-weight: 600;
  padding: 20px 0;
  text-align: center;
  margin: 0;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--contrast-color);
  position: relative;
}

.section-title h2::after {
  content: "";
  width: 120px;
  height: 1px;
  display: inline-block;
  background: var(--accent-color);
  margin: 4px 10px;
}

.section-title div {
  color: var(--heading-color);
  margin: 0;
  font-size: 28px;
  font-weight: 700;
  text-transform: uppercase;
  font-family: var(--heading-font);
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
.hero {
  width: 100%;
  min-height: 70vh;
  position: relative;
  padding: 70px 0 30px 0;
  display: flex;
  align-items: center;
}

.hero .hero-bg {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.hero:before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
}

.hero .container {
  position: relative;
}

/* Tout le contenu du hero (texte, formulaire, écran de remerciement de
   merci.php, cross-selling...) doit passer au-dessus de l'image de fond
   .hero-bg (z-index:1). On applique le z-index sur les COLONNES et non sur
   .container : sinon .container crée un stacking context qui emprisonne le
   formulaire sous l'overlay gris (.overlay z-index:1000) au clic sur
   "Demander un devis". */
.hero .container > .row > *,
.hero .bloc_mobile {
  position: relative;
  z-index: 3;
}

/* Le formulaire doit passer AU-DESSUS de l'overlay gris (z-index:1000). */
#bloc_full_form,
#cross-selling-form {
  position: relative;
  z-index: 1001;
}

.hero h1 {
  margin: 0 0 5px 0;
  font-size: 48px;
  font-weight: 700;
  line-height: 45px;
  color: var(--default-color);
  padding-top: 5%;
}

.hero h2,
.hero .hero-subtitle {
  color: var(--default-color);
  font-weight: 900;
  padding-bottom: 20px;
  font-size: 2rem;
}

.hero h2 span,
.hero .hero-subtitle span {
  background-color: var(--accent-color);
  color: #FFF;
  padding: 0 6px;
}

.hero ul {
  list-style: none;
  padding: 0;
  font-size: 18px;
  font-weight: 400;
  color: var(--default-color);
}

.hero ul li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding-bottom: 8px;

}
#hero-content .hero-text ul li {
  color: var(--default-color);
}

/* Icônes de la liste à puces du hero uniquement — NE PAS cibler .hero i
   globalement, sinon les icônes Font Awesome du formulaire (.input-group-text)
   débordent en hauteur par rapport aux inputs. */
.hero .hero-text i {
  font-size: x-large;
  padding-top: 5px;
  color: #A64265;
}

.hero p {
  color: var(--default-color);
  margin: 5px 0 30px 0;
  font-size: 16px;
  font-weight: 700;
}

.hero small p{
  font-size: 11px;
}

.hero .btn-get-started {
  color: #FFF;
  background: var(--accent-color);
  font-family: var(--heading-font);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 1px;
  display: inline-block;
  padding: 10px 28px 12px 28px;
  border-radius: 5px;
  transition: 0.5s;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.1);
}

.hero .btn-get-started:hover {
  color: #FFF;
  background: color-mix(in srgb, var(--accent-color), transparent 15%);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.1);
}

.hero .animated {
  animation: up-down 2s ease-in-out infinite alternate-reverse both;
}

@media (max-width: 640px) {
  .hero h1 {
    font-size: 28px;
    line-height: 36px;
  }

  .hero p {
    font-size: 18px;
    line-height: 24px;
    margin-bottom: 30px;
  }

  .hero .btn-get-started {
    font-size: 13px;
  }
}

@keyframes up-down {
  0% {
    transform: translateY(10px);
  }

  100% {
    transform: translateY(-10px);
  }
}

/* Encadré du formulaire de capture de leads dans le hero */
.formulaire {
  padding: 30px;
  position: relative;
  overflow: hidden;
  background: var(--surface-color);
  box-shadow: 0 0 29px 0 rgba(68, 88, 144, 0.12);
  transition: all 0.3s ease-in-out;
  border-radius: 8px;
  z-index: 1;
  text-align: center;
  margin-bottom: 30px;
}

.formulaire h4 {
  margin: 0;
  font-size: 28px;
  font-weight: 500;
  color: var(--default-color);
}

/*--------------------------------------------------------------
# About Section
--------------------------------------------------------------*/
.about h2 {
  color: var(--contrast-color);
  font-weight: 700;
}

.about .content h2 {
  font-weight: 700;
}

.about .content p:last-child {
  margin-bottom: 0;
}

.bg-cl {
  background-color: #f9f9f9;
}

.read-more {
  background: var(--accent-color);
  color: var(--surface-color);
  font-family: var(--heading-font);
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 1px;
  padding: 12px 24px;
  border-radius: 5px;
  transition: 0.3s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 20px;
}

.read-more i {
  font-size: 18px;
  margin-left: 5px;
  line-height: 0;
  transition: 0.3s;
}

.read-more:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 20%);
  padding-right: 19px;
  color: #FFF;
}

.read-more:hover i {
  margin-left: 10px;
}

.content h1 span,
.content h2 span,
.content p span {
  color: var(--default-color);
  font-weight: 800;
}

/*--------------------------------------------------------------
# Features Section
--------------------------------------------------------------*/
.features h1 {
  color: var(--accent-color);
  text-align: center;
  font-weight: 800;
}

/*--------------------------------------------------------------
# Details Section (fond sombre)
--------------------------------------------------------------*/
.details {
  text-align: center;
  color: #FFF !important;
  background-color: var(--default-color);
}

.details .features-item {
  color: color-mix(in srgb, var(--default-color), transparent 20%);
}

.details .features-item + .features-item {
  margin-top: 100px;
}

@media (max-width: 640px) {
  .details .features-item + .features-item {
    margin-top: 40px;
  }
}

.details .features-item h3 {
  font-weight: 700;
  color: #FFF !important;
  font-size: 26px;
}

.details h1 {
  color: #FFF !important;
  font-weight: 800;
}

.details h2 {
  color: #FFF !important;
  font-weight: 700;
}

.details p {
  color: #FFF !important;
}

.features-item ul {
  list-style: none;
  padding: 0;
}

.features-item ul li {
  padding-bottom: 10px;
  display: flex;
  align-items: center;
}

.features-item ul li:last-child {
  padding-bottom: 0;
}

.features-item ul i {
  font-size: 20px;
  padding-right: 4px;
  color: var(--accent-color);
}

.features-item p:last-child {
  margin-bottom: 0;
}

/*--------------------------------------------------------------
# Alt Features Section (fond sombre — "Comment ça marche ?")
# Rendu par le bloc "avantages icones texte 1" :
#   <section class="alt-features section dark-background">
#     <h2>{titre}</h2>
#     <article class="col-md-4 icon-box"><div class="icone"><img></div>
#       <div><h3>{titre}</h3><p>{texte}</p></div></article>
--------------------------------------------------------------*/
.alt-features {
  color: #FFF !important;
  background-color: var(--default-color);
}

.alt-features h1,
.alt-features h2 {
  text-align: center;
  color: var(--surface-color);
  font-weight: 800;
  margin-bottom: 30px;
}

.alt-features .icon-box {
  display: flex;
  align-items: flex-start;
}

/* Wrapper de l'icône (image) — class "icone" dans le bloc */
.alt-features .icon-box .icone {
  margin-right: 15px;
  flex-shrink: 0;
}

.alt-features .icon-box .icone img {
  max-width: 60px;
  height: auto;
  padding: 0;
}

/* Titre de l'étape (h3 dans le bloc) */
.alt-features .icon-box h3,
.alt-features .icon-box h4 {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 10px 0;
  color: var(--surface-color);
}

/* Cas où l'étape utilise une icône Bootstrap <i> (fallback) */
.alt-features .icon-box .icon i,
.alt-features .icon-box i {
  font-size: 44px;
  line-height: 44px;
  margin-right: 15px;
  color: var(--heading-color);
}

.alt-features .icon-box p {
  font-size: 15px;
  color: var(--surface-color);
  margin-bottom: 0;
}

/*--------------------------------------------------------------
# Texte avec image (bloc "texte avec image")
#   <section class="text-image-section section">
#     <div class="section-title"><h2>{h2_bloc}</h2></div>
#     <div class="row"><div class="col-md-6"><img class="img-fluid rounded shadow"></div>
#       <div class="col-md-6"><article class="text-image-item"><h3>{titre}</h3><div>{texte}</div></article></div></div>
--------------------------------------------------------------*/
.text-image-section {
  background-color: #f9f9f9;
}

.text-image-section .text-image-item h3 {
  color: var(--contrast-color);
  font-weight: 700;
  font-size: 28px;
  margin-bottom: 15px;
}

.text-image-section .text-image-item p:last-child {
  margin-bottom: 0;
}

/*--------------------------------------------------------------
# Pricing — tableau comparatif
--------------------------------------------------------------*/
.pricing {
  background-color: #F2F2F0;
}

.pricing .section-title h2 span {
  line-height: 0;
  text-transform: none;
  text-align: center;
  letter-spacing: 0px;
  color: #073742;
  opacity: 1;
}

.pricing .box {
  padding: 20px;
  background: #fff;
  text-align: center;
  box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.12);
  border-radius: 20px;
  position: relative;
  overflow: hidden;
}

.pricing h3 {
  font-weight: 400;
  padding: 20px 15px 15px 15px;
}

.pricing ul {
  padding: 0;
  list-style: none;
  color: #444444;
  text-align: left;
  line-height: 20px;
  font-size: 16px;
}

.price-page-container ul {
  padding: 0;
  font-size: 16px;
}

.pricing ul li {
  padding-bottom: 16px;
  text-align: center;
  list-style: none;
}

.ok i:before {
  text-align: center;
  color: #449997;
  font-size: 30px;
}

.no i:before {
  color: #a74266;
  font-size: 30px;
}

.price-row,
.price-row-content {
  position: relative;
}

.price-row-content {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
}

.price-row-content .price-col-w4 {
  flex-basis: 33%;
}

.price-row-content .price-col-w12 {
  flex-basis: 100%;
}

.price-image {
  overflow: auto;
}

.price-image .price-center {
  margin: 0 auto;
}

.price-row-2 .price-col-2 .price-block-1,
.price-row-2 .price-col-3 .price-block-1 {
  width: 100%;
}

.price-list ul {
  margin: 0;
  padding: 0;
}

.price-image img {
  display: block;
  width: 100%;
}

.price-paragraph {
  overflow-wrap: anywhere;
}

@media (max-width: 768px) {
  .price-row-content:not(.no_stack) {
    display: block;
  }
}

.price-row-2 .price-col-1,
.price-row-2 .price-col-2,
.price-row-2 .price-col-3,
.price-row-3 .price-col-1,
.price-row-3 .price-col-2,
.price-row-3 .price-col-3,
.price-row-4 .price-col-1,
.price-row-4 .price-col-2,
.price-row-4 .price-col-3,
.price-row-5 .price-col-1,
.price-row-5 .price-col-2,
.price-row-5 .price-col-3,
.price-row-6 .price-col-1,
.price-row-6 .price-col-2,
.price-row-6 .price-col-3,
.price-row-7 .price-col-1,
.price-row-7 .price-col-2,
.price-row-7 .price-col-3,
.price-row-8 .price-col-1,
.price-row-8 .price-col-2,
.price-row-8 .price-col-3,
.price-row-9 .price-col-1,
.price-row-9 .price-col-2,
.price-row-9 .price-col-3 {
  padding-bottom: 0px;
  padding-top: 0px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.price-row-2 .price-col-2 .price-block-2,
.price-row-2 .price-col-3 .price-block-2 {
  padding: 5px;
  text-align: center;
  width: 100%;
}

.price-row-3 .price-col-1 .price-block-1,
.price-row-3 .price-col-2 .price-block-1,
.price-row-3 .price-col-3 .price-block-1,
.price-row-4 .price-col-1 .price-block-1,
.price-row-4 .price-col-2 .price-block-1,
.price-row-4 .price-col-3 .price-block-1,
.price-row-5 .price-col-1 .price-block-1,
.price-row-5 .price-col-2 .price-block-1,
.price-row-5 .price-col-3 .price-block-1,
.price-row-6 .price-col-1 .price-block-1,
.price-row-6 .price-col-2 .price-block-1,
.price-row-6 .price-col-3 .price-block-1,
.price-row-7 .price-col-1 .price-block-1,
.price-row-7 .price-col-2 .price-block-1,
.price-row-7 .price-col-3 .price-block-1,
.price-row-8 .price-col-1 .price-block-1,
.price-row-8 .price-col-2 .price-block-1,
.price-row-8 .price-col-3 .price-block-1,
.price-row-9 .price-col-1 .price-block-1,
.price-row-9 .price-col-2 .price-block-1,
.price-row-9 .price-col-3 .price-block-1 {
  padding: 5px;
}

.price-row-2 .price-col-2 .price-block-1,
.price-row-2 .price-col-3 .price-block-1,
.price-row-3 .price-col-2 .price-block-1,
.price-row-3 .price-col-3 .price-block-1,
.price-row-4 .price-col-2 .price-block-1,
.price-row-4 .price-col-3 .price-block-1,
.price-row-5 .price-col-2 .price-block-1,
.price-row-5 .price-col-3 .price-block-1,
.price-row-6 .price-col-2 .price-block-1,
.price-row-6 .price-col-3 .price-block-1,
.price-row-7 .price-col-2 .price-block-1,
.price-row-7 .price-col-3 .price-block-1,
.price-row-8 .price-col-2 .price-block-1,
.price-row-8 .price-col-3 .price-block-1,
.price-row-9 .price-col-2 .price-block-1,
.price-row-9 .price-col-3 .price-block-1 {
  color: #101112;
  direction: ltr;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 120%;
  text-align: center;
}

.price-row-3 .price-col-1 .price-block-1,
.price-row-4 .price-col-1 .price-block-1,
.price-row-5 .price-col-1 .price-block-1,
.price-row-6 .price-col-1 .price-block-1,
.price-row-7 .price-col-1 .price-block-1,
.price-row-8 .price-col-1 .price-block-1,
.price-row-9 .price-col-1 .price-block-1 {
  color: #073742;
  direction: ltr;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 120%;
  text-align: left;
}

/*--------------------------------------------------------------
# Divers
--------------------------------------------------------------*/
.img-fluid {
  padding: 10px;
}
