@font-face {
    font-family: "Poppins";
    font-weight: normal;
    src: local("Poppins Light"), local("Poppins-Light"),
      url("../../common/fonts/Poppins/Poppins-Light.ttf");
      font-display:swap;
  }

  @font-face {
      font-family: "Poppins";
      font-weight: bold;
      src: local("Poppins Medium"), local("Poppins-Medium"),
        url("../../common/fonts/Poppins/Poppins-Medium.ttf");
    }

body {
    font-family: "Poppins";
    margin:0;
    font-size:20px;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
}

inner {
    display:block;
    /*padding:20px;
    max-width:1200px;*/
    margin:auto;
}

h1 {
    color: #185547;
    padding:30px 0px 20px 0px;
    line-height: 1.2;
    font-weight: normal;
}

h2 {
    color: #54a290;
    padding:20px 0px 10px 0px;
    line-height: 1.2;
    font-weight: normal;
}

h3 {
    font-size:22px;
    color:var(--text-muted);
    padding:20px 0px 10px 0px;
    line-height: 1.2;
    font-weight: bold;
}

h4 {
    font-size:18px;
    padding:20px 0px 0px 0px;
    line-height: 1.2;
    color:var(--text-muted);
}

p {
  padding:0px 0px 20px 0px;
}

quote {
    margin-left: 20px;
    display: block;
    border-left: 5px solid #ccc;
    padding-left: 10px;
    font-style: italic;
}

ul, ol {
  margin:0px 0px 0px 30px;
  display:inline-block;
  /*display: grid;
grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
 list-style-type: none;*/
}

li {
    padding:0px 20px 10px 0px;
}

a {
  color:#185547;
}

/*a:visited {
  color:#04aa6d;
}*/

a:hover {
  color:#04aa6d;
}

/*.top_branding {
    background-color: #185547;
    overflow:hidden;
}*/

.top_branding img {
    float:left;
    padding:0;
    max-height:60px;
    border-radius:10px;
}

/* Add a black background color to the top navigation */
.topnav {
  background-color: #185547;
  /*overflow: hidden;*/
  text-align:center;
}

/* Style the links inside the navigation bar */
.topnav a {
  color: #f2f2f2;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 17px;
  display:inline-block;
  border-bottom: 1px dashed #426f65;
}

/* Change the color of links on hover */
.topnav a:hover {
  background-color: #ddd;
  color: black;
}

/* Add a color to the active/current link */
.topnav a:active {
  /*background-color: #04AA6D;*/
  color: white;
  text-decoration:overline;
}

.topnav ul {
  margin:0;
}

/* Add a black background color to the top navigation */
.topnavsub {
  background-color: #fff;
  /*overflow: hidden;*/
  text-align:center;
}

/* Style the links inside the navigation bar */
.topnavsub a {
  color: #185547;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 17px;
  display:inline-block;
  border-bottom: 1px dashed #426f65;
}

/* Change the color of links on hover */
.topnavsub a:hover {
  background-color: #ddd;
  color: black;
}

/* Add a color to the active/current link */
.topnavsub a:active {
  /*background-color: #04AA6D;*/
  color: white;
  text-decoration:overline;
}

.topnavsub ul {
  margin:0;
}

.cta_toggle_subnav {
  display:grid !important;
}

.liste_articles {
  background-color: #f2f2f2;
  border-radius: 10px;
  padding: 10px 30px;
  margin:0 0 20px 0;
}

.liste_articles ul {
  columns: 2;
  -webkit-columns: 2;
  -moz-columns: 2;
  display: block;
  margin-top:10px;
}

.liste_articles ul a {
  display: inline-grid;
}

.liste_categorie_articles .cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.liste_categorie_articles .card {
    display: flex;              /* 🔥 horizontal */
    align-items: stretch;
    text-decoration: none;
    background: #ffffff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
    transition: all 0.25s ease;
}

.liste_categorie_articles .card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 28px rgba(0,0,0,0.15);
}

.liste_categorie_articles .card-image {
    flex: 0 0 100px;            /* largeur fixe image */
    height: 100px;
    overflow: hidden;
    background: #f4f4f4;
}

.liste_categorie_articles .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.liste_categorie_articles .card-title {
    flex: 1;
    padding: 20px;
    display: flex;
    align-items: center;
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.cta_primaire {
  background: #185547;
  color: #fff;
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  width: fit-content;
  margin: auto;
  text-decoration: none;
  display: block;
}

.cta_highlight {
  background: #185547;
  color: #fff;
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  width: fit-content;
  text-decoration: none;
  display: block;
}

.cta_primaire:hover {
  background:#04aa6d;
  color:#fff;
}

.cta_primaire:visited {
  color:#fff;
}

.showDiv {
  padding:20px;
}

.hideDiv {
  padding:20px;
}

.key_fact {
  border-radius:10px;
  padding:10px;
  margin:10px 0;
  border:2px solid #54a290;
}

.key_fact ul {
  list-style-type:"👉 ";
}

.key_fact h4 {
  padding: 0px 10px 0px 10px !important;
  line-height: 1.2;
  margin: -24px 0 20px 0 !important;
  background: white;
  width: fit-content;
  color:#54a290;
}

/*.show_menu {
  width: 35px;
  height: 5px;
  background-color: black;
  margin: 6px 0;
  border-radius:5px;
}

.hide_menu {
  width: 5px;
  height: 30px;
  background-color: black;
  margin: 6px 0;
  border-radius:5px;
  display:inline-block;
}*/

table {
  border:1px solid #ddd;
  border-radius:10px;
  padding:10px;
  margin:auto;
}

tr {
  border:1px solid #000;
}

th {
  border-bottom:1px solid #000;
}

/*td {
  text-align: center;
  padding-left:10px;
}
table tr:first-child td:nth-child(2),
table tr:nth-child(2) td:nth-child(2),
table tr:nth-child(3) td:nth-child(2) {
  background-color: red;
}
*/

table tr td:nth-child(2) {
  text-align: center;
}

tr:nth-child(even) {
  background:#426f6517;
}

table.fiche {
  border:1px solid #ddd;
  border-radius:10px;
  padding:10px;
  margin-left: 0;
}

table.fiche tr td:nth-child(1) {
  font-weight: 800;
  padding:5px 20px;
}

table.fiche tr td:nth-child(2) {
  text-align: left;
  padding:5px 20px;
  background:#eaf6f3;
}

/* Layout principal */
article {
  max-width:1200px;
  margin: auto;
}

article a {
  text-decoration-style: dotted;
}

.article_page {
  display: grid;
  grid-template-columns: 3fr 1fr;
  gap: 40px;
  align-items: start;
}

/* Colonne principale */
.article_page > .article_main_content {
  grid-column: 1;
}

/* Colonne droite */
.article_page > .article_additional_info {
  grid-column: 2;
  align-self: start;
  font-style: italic;
  border-radius: 5px;
  font-size:16px;
  margin-top:30px;
}

.img_article {
  max-width:500px;
  float:right;
  margin:0px 10px 10px 10px;
  border-radius:10px;
}

.img_highlight {
  width:100%;
  margin:auto;
  border-radius:10px;
}

.article_author_card {
  display: block;
  padding: 10px;
  border-radius: 8px;
  margin-bottom:20px;
}

.article_author_card img {
  width:60px;
  border-radius:100px;
  float:left;
  margin-right:10px;
}

highlight {
  display: inline-block;
  background: #edf6f3;
  padding: 20px;
  border-radius: 10px;
  border: 2px solid #04aa6d;
}

highlight img {
  float:right;
  max-width:300px;
}

.faq {
  margin-top:20px;
  border-top: 2px solid var(--bg-light);
  list-style-type: none;
}

.faq ul {
  margin: 10px 0 0 0;
}

.faq ul li {
  padding: 10px;
  background-color:#fafafa;
  list-style-type: none;
  margin: 0 0 15px 0;
  border-radius: 8px;
  border: 1px solid var(--primary-light);
}

.faq h3 {
  font-weight: bold;
  margin-bottom: 10px !important;
  color:var(--primary)
}

.cta_highlight:visited {
  color:#fff;
}

/* Popup container - can be anything you want */
.popup {
  position: relative;
  display: inline-block;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* The actual popup */
.popup .popuptext {
  visibility: hidden;
  width: 300px;
  background-color: #195547;
  color: #fff;
  text-align: left;
  border-radius: 6px;
  padding: 20px;
  position: absolute;
  z-index: 1;
  bottom: 125%;
  left: 50%;
  margin-left: -245px;
}

/* Popup arrow */
.popup .popuptext::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: #555 transparent transparent transparent;
}

/* Toggle this class - hide and show the popup */
.popup .show {
  visibility: visible;
  -webkit-animation: fadeIn 1s;
  animation: fadeIn 1s;
}

/* Add animation (fade in the popup) */
@-webkit-keyframes fadeIn {
  from {opacity: 0;}
  to {opacity: 1;}
}

@keyframes fadeIn {
  from {opacity: 0;}
  to {opacity:1 ;}
}

.divider {
  width:100%;
  height:1px;
  color:#fff;
  background: #fff;
}

/*CONTAINER FOR VISION HP*/
.vision-container {
  display: grid;
  grid-template-columns: 1fr 1fr; /* gauche plus large */
  grid-template-rows: repeat(3, 150px);
  gap: 20px;
  height: 70vh;
  box-sizing: border-box;
  max-width: 1200px;
  margin: auto;
}

.vision-left {
  grid-row: 1 / 4; /* prend toute la hauteur */
  /*background-color: #4A90E2;*/
  color: black;
  display: block;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.vision-right {
  /*background-color: #50E3C2;*/
  display: block;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.vision-container .img {
    float: left;
    width: 100px;
    margin: 10px;
    height: stretch;
}

/*.vision-right:nth-child(2) { background-color: #F5A623; }
.vision-right:nth-child(3) { background-color: #9013FE; }*/

.box-astuce {
    background-color: #f3f3f3;
    border-left: 5px solid #5e9a8c;
    padding: 10px 10px 10px 20px;
    display:grid;
    border-radius: 0px 5px 5px 0px;
}


.wine-map{
position:relative;
max-width:900px;
margin:auto;
}

.wine-map img{
width:100%;
height:auto;
display:block;
}

.region{
position:absolute;
display:block;
}

.region:hover{
outline:3px solid #8e1f2f;
border-radius:6px;
}

/* Tooltip */
.region::after{
content:attr(data-name);
position:absolute;
bottom:110%;
left:50%;
transform:translateX(-50%);
background:#8e1f2f;
color:#fff;
padding:4px 8px;
font-size:12px;
border-radius:4px;
white-space:nowrap;
opacity:0;
pointer-events:none;
transition:opacity .2s;
}

.region:hover::after{
opacity:1;
}

@media all and (min-width:0px) and (max-width: 820px) {
body {
    font-size:22px;
}

/*.top_branding {
    background-color: #185547;
    overflow:hidden;
}*/

.top_branding img {
    float:left;
    padding:0;
    max-height:60px;
}

.cta_toggle_subnav  {
  display:grid !important;
}

.topnav a {
  display:block;
}

.topnavsub a {
  display:block;
}

.img_article {
  width:100%;
  float:initial;
  display: block;
  margin:auto;
}

table {
  width: 100%;
  display: block;
  overflow: scroll;
}

.liste_articles_cepages ul {
  columns: 1;
  -webkit-columns: 1;
  -moz-columns: 1;
}

.vision-container {
  display: contents;
  grid-template-columns: 1fr; /* gauche plus large */
}

.vision-container .img {
    width: 50px;
}

.vision-container p {
    display: inline-block;
}

.grid-1 .feature-card img {
  max-width:100% !important;
}

inner img {
  margin-bottom:10px !important;
}

.liste_articles ul {
  columns: 1;
  -webkit-columns: 1;
  -moz-columns: 1;
}

.article_page {
  grid-template-columns: 1fr;
  gap: 10px;
}

.article_page > .article_main_content,
.article_page > .article_additional_info {
  grid-column: 1;
}

.article_page > .article_additional_info {
  position: relative; /* désactive le sticky en mobile */
  top: auto;
  margin:0 0 20px 0;
}

.liste_categorie_articles .card {
    flex-direction: column;   /* repasse vertical sur mobile */
    text-align: center;
}

.liste_categorie_articles .card-image {
    width: 100%;
    height: 180px;
}

}


/* === Imported from hp_vinee2.html === */

/* ============================= */
  /* RESET & BASE */
  /* ============================= */

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

  :root {
    --bg: #fff;
    --bg-light: #ededed;
    --primary: #185457;
    --primary-light: #18545744;
    --text: #000;
    --text-muted: #3e3e3e;
    --text-muted-light: #fff;
    --border: #ccc;
    --radius: 14px;
    --transition: all 0.3s ease;
    --linear-gradient-light: linear-gradient(135deg, #fff, #18545730);
    --linear-gradient-dark: linear-gradient(135deg, #185547, #184455);
  }

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

  .top_branding a {
    text-decoration: none;
  }

  .container {
    /*width: 90%;*/
    /*max-width: 1200px;*/
    margin: auto;
    padding: 20px 20px;
  }
  .main {
    padding:0 10px;
  }

  .main h2 {
    text-align: left;
    padding:20px 0 10 0;
    margin: 0;
  }

  .main h3 {
    text-align: left;
    padding:10px 0 0 0;
    margin: 0;
    font-size:22px;
  }

  .main section {
    padding:0px !important;
  }

  /* ================= HEADER ================= */

  .header {
    position: sticky;
    top: 0;
    background: #fff;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
  }

  .header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 20px;
    position: relative;
    box-shadow: #ececec 0px 0px 20px 0px;
    max-height: 70px;
  }

  .logo {
    font-weight: 700;
    font-size: 1.4rem;
  }

  .nav-desktop {
    display: none;
    gap: 30px;
  }

  .nav-desktop a {
    color: var(--text-muted);
    transition: var(--transition);
  }

  .nav-desktop a:hover {
    color: var(--text);
  }

  .actions {
    display: none;
    gap: 20px;
    align-items: center;
  }

  /* ================= BURGER ================= */

  #menu-toggle {
    display: none;
  }

  .burger {
    font-size: 1.8rem;
    cursor: pointer;
    display: block;
    z-index: 1001;
  }

  /* ================= CLOSE BUTTON ================= */

  .close-menu {
    position: absolute;
    top: 25px;
    right: 25px;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--text);
  }

  /* ================= MOBILE MENU ================= */

  .mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    height: 100vh;
    background: var(--bg);
    padding: 100px 30px;
    display: flex;
    flex-direction: column;
    gap: 25px;
    transition: var(--transition);
    z-index: 1000;
  }

  .mobile-menu a {
    font-size: 1.2rem;
    color: black;
    text-decoration: none;
  }

  #menu-toggle:checked ~ .mobile-menu {
    right: 0;
  }

  /* Overlay */

  .overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
  }

  #menu-toggle:checked ~ .overlay {
    opacity: 1;
    visibility: visible;
  }

  /* ================= HERO ================= */

  .hero {
    text-align: center;
    padding-top: 80px;
  }

  .hero h1 {
    font-size: 2rem;
    margin-bottom: 20px;
    line-height: 1.4;
  }

  .hero p {
    color: var(--text-muted);
    margin-bottom: 30px;
  }

  .hero-cta {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 40px;
  }

  /* ================= BUTTONS ================= */

  .btn-primary {
    background: var(--primary);
    color: white !important;
    padding: 14px 28px;
    border-radius: var(--radius);
    transition: var(--transition);
    display: inline-block;
  }

  .btn-primary a {
    color:white !important;
  }

  .btn-primary:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
    color:#000;
  }

  .btn-secondary {
    border: 1px solid var(--border);
    padding: 14px 28px;
    border-radius: var(--radius);
  }

  .btn-secondary:hover {
    background: var(--bg-light);
  }

  /* ================= SECTIONS ================= */

section {
  padding: 40px 20px !important;
}

section h2 {
  text-align: center;
}

section h3 {
  text-align: center;
  margin:-20px 0 40px 0;
  font-size:36px;
  font-weight: normal;
  color:#54a290;
}

.social-proof {
  background: var(--bg-light);
  text-align: center;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.grid-2,
.grid-3,
.feature-grid,
.pricing-grid {
  display: grid;
  gap: 20px;
  max-width: 1200px;
  margin: auto;
}

.feature-card {
  padding: 30px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: var(--transition);
}

.feature-grid .feature-card img {
  margin: auto;
  max-width: 100px;
}

.grid-1 .feature-card {
  padding: 20px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background-color:var(--bg);
  display: inline-block;
  max-width: 1200px;
  text-align:left;
}

.grid-1 .feature-card img {
  float:left;
  height: stretch;
  border-radius:10px;
  max-width:400px;
  margin:0 20px 0 0;
}

.gradient-dark .grid-1 .feature-card img {
  float:right;
  height: stretch;
  border-radius:10px;
  max-width:400px;
  margin:0 0 0 20px;
}

.plan {
  background: var(--bg-light);
  padding: 30px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: var(--transition);
}

.feature-card:hover,
.plan:hover {
  transform: translateY(-5px);
}

.pricing h2,
.use-cases h2 {
  text-align: center;
  margin-bottom: 40px;
}

.price {
  font-size: 2rem;
  margin: 20px 0;
}

.plan ul {
  list-style: none;
  margin-bottom: 20px;
}

.plan ul li {
  margin-bottom: 10px;
  color: var(--text-muted);
}

.plan.premium {
  border: 1px solid var(--primary);
  box-shadow: 0 0 40px rgba(139,0,0,0.3);
}

details {
  background: var(--bg-light);
  padding: 20px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  margin-bottom: 15px;
}

summary {
  cursor: pointer;
  font-weight: 600;
}

.cta-final {
  background: var(--linear-gradient-light);
  border-radius:8px;
  text-align: center;
}

.gradient-light {
  background: var(--linear-gradient-light);
}

.gradient-light h3 {
  color:var(--text-muted);
}

.gradient-dark {
  background: var(--linear-gradient-dark);
}

.gradient-dark h3 {
  color:var(--text-muted-light);
}

/* ================= FOOTER ================= */

.footer {
  background: var(--primary);
  border-top: 1px solid var(--border);
  border-radius: 20px 20px 0px 0px;
  color: var(--text-muted-light);
}

.footer .container {
  display: grid;
  gap: 30px;
}

.footer a {
  display: block;
  margin-bottom: 8px;
  font-size:16px;
  color:inherit;
  text-decoration: none;
}

.footer a:hover {
  color:var(--light);
  text-decoration: underline;
  text-decoration-style: dotted;
}

  /* ================= RESPONSIVE ================= */

  @media (min-width: 768px) {

    .nav-desktop {
      display: flex;
    }

    .actions {
      display: flex;
    }

    .burger,
    .mobile-menu,
    .overlay {
      display: none;
    }

    .hero h1 {
      font-size: 3rem;
    }

    .hero-cta {
      flex-direction: row;
      justify-content: center;
    }

    .grid-1 {
      grid-template-columns: repeat(1, 1fr);
      text-align:center;
    }

    .grid-2 {
      grid-template-columns: repeat(2, 1fr);
    }

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

    .feature-grid {
      grid-template-columns: repeat(3, 1fr);
    }

    .pricing-grid {
      grid-template-columns: repeat(2, 1fr);
    }

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

  }
