@charset "UTF-8";
/* ============================================================
   MOBILE.SCSS — Clinique Dentaire Geneviève Lafrance
   Simplifié grâce aux vw — ne gère que les changements structurels
   ============================================================ */
html, body {
  overflow-x: hidden;
  max-width: 100%;
}

.vce-row-container,
.vce-row,
.vce-col,
.vce-row-content {
  max-width: 100% !important;
}

/* ============================================================
   TABLETTE — max 1024px
   Changements structurels uniquement
   ============================================================ */
@media (max-width: 1024px) {
  .vce-row--col-gap-45 > .vce-row-content > .vce-col {
    margin-right: 15px !important;
  }
  .site-header {
    height: 70px !important;
    padding: 0 24px !important;
  }
  .hamburger {
    display: flex !important;
  }
  .site-header nav {
    display: none !important;
    position: absolute !important;
    top: 70px !important;
    left: 0 !important;
    right: 0 !important;
    background: #ffffff !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1) !important;
    z-index: 999 !important;
  }
  .site-header nav.open {
    display: block !important;
    max-height: calc(100vh - 70px) !important; /* Hauteur écran moins header */
    overflow-y: auto !important; /* Scroll vertical */
    -webkit-overflow-scrolling: touch; /* Scroll fluide iOS */
  }
  .site-header nav > div {
    display: block !important;
  }
  #primary-menu {
    flex-direction: column !important;
    gap: 0 !important;
    padding: 12px 0 !important;
    /* Sous-menu — caché par défaut */
    /* Sous-menu — ouvert (DOIT être APRÈS le display:none) */
  }
  #primary-menu > li {
    width: 100% !important;
    opacity: 1 !important;
    animation: none !important;
  }
  #primary-menu > li > a {
    display: block !important;
    padding: 14px 24px !important;
    font-size: 18px !important;
    border-bottom: 1px solid #f0efeb !important;
  }
  #primary-menu > li > a::after {
    display: none !important;
  }
  #primary-menu > li.menu-item-has-children > .sub-menu {
    position: static !important;
    visibility: visible !important;
    opacity: 1 !important;
    transform: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    display: none !important; /* ← Caché */
    background: #F3F1ED !important;
    padding: 0 !important;
    min-width: 100% !important;
  }
  #primary-menu > li.menu-item-has-children > .sub-menu::before {
    display: none !important;
  }
  #primary-menu > li.menu-item-has-children > .sub-menu li a {
    padding-left: 40px !important;
    font-size: 15px !important;
    border-bottom: 1px solid #e5e3df !important;
    border-left: none !important;
  }
  #primary-menu > li.menu-item-has-children.open > .sub-menu {
    display: block !important; /* ← Ouvert */
  }
  #primary-menu li.btn-phone,
  #primary-menu li.btn-coin-enfant {
    text-align: center !important;
  }
  #primary-menu li.btn-phone > a,
  #primary-menu li.btn-coin-enfant > a {
    display: inline-flex !important;
    margin: 8px 16px !important;
    border-radius: 50px !important;
    justify-content: center !important;
    border-bottom: none !important;
  }
  /* ---- HERO ---- */
  .cd-hero {
    margin-top: 70px !important;
  }
  .hero-sidebar {
    display: none !important;
  }
  .cd-deco-tooth {
    display: none !important;
  }
  /* ---- COLONNES VC ---- */
  /* ---- BLOG ---- */
  .cd-blog-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  /* ---- FOOTER ---- */
  .cd-footer-inner {
    grid-template-columns: 1fr 1fr !important;
    gap: 40px !important;
  }
  .cd-footer-hours {
    grid-column: 1/-1 !important;
  }
}
/* ============================================================
   MOBILE — max 768px
   ============================================================ */
@media (max-width: 768px) {
  /* ---- HEADER ---- */
  .site-header {
    height: 60px !important;
    min-height: 60px !important;
    padding: 0 16px !important;
  }
  .site-header nav {
    top: 60px !important;
  }
  .custom-logo-link img.custom-logo {
    height: 38px !important;
  }
  /* ---- HERO — fond couleur sur mobile ---- */
  .cd-hero {
    margin-top: 60px !important;
    min-height: 85vh !important;
    align-items: flex-end !important;
    background-color: #625756 !important;
  }
  .cd-hero .vce-asset-background-simple-item {
    display: none !important;
  }
  .cd-hero .vce-content-background-container::after {
    display: none !important;
  }
  .cd-hero-col .vce-col-inner,
  .cd-hero-col .vce-col-content {
    padding: 0 24px 48px !important;
    max-width: 100% !important;
  }
  .hero-title {
    margin-bottom: 26px !important;
    max-width: inherit !important;
  }
  .hero-address {
    gap: 8px !important;
    margin-bottom: 0 !important;
  }
  .hero-address img {
    width: 40px !important;
    height: auto !important;
    flex-shrink: 0 !important;
  }
  .hero-address span {
    line-height: 1.4 !important;
    max-width: inherit !important;
  }
  .hero-address svg {
    width: 16px !important;
    height: 16px !important;
    flex-shrink: 0 !important;
  }
  .hero-sidebar {
    display: none !important;
  }
  /* ---- ABOUT ---- */
  .cd-about-section {
    padding: 48px 20px !important;
  }
  .cd-about-col-left {
    padding-right: 0 !important;
    padding-bottom: 20px;
  }
  .cd-about-col-left .details {
    margin-bottom: 20px !important;
  }
  .cd-logo-img {
    padding-bottom: 25px;
    text-align: left;
  }
  .cd-about-title {
    padding: 32px 0 16px !important;
    word-break: normal !important;
    white-space: normal !important;
    overflow-wrap: break-word !important;
  }
  .cd-deco-tooth {
    display: none !important;
  }
  /* ---- HORAIRES ---- */
  .horaire table {
    table-layout: fixed;
    width: 100% !important;
  }
  .horaire table td {
    padding: 3px 2px !important;
    word-break: break-word;
  }
  .horaire table td:first-child {
    width: 27% !important;
    padding-right: 6px !important;
  }
  .horaire table td:last-child {
    width: 30% !important;
  }
  /* ---- TEAM ---- */
  .cd-team-circles {
    justify-content: center !important;
    gap: 8px !important;
    padding-bottom: 20px !important;
  }
  .cd-team-circle-item {
    margin-left: 0 !important;
  }
  .cd-team-circle-item img {
    width: 85px !important;
    height: 85px !important;
  }
  /* ---- SERVICES ---- */
  .cd-service-col > .vce-col-inner {
    padding: 48px 20px !important;
  }
  .cd-text-service {
    margin-bottom: 32px !important;
  }
  .cd-service-card {
    margin-bottom: 25px !important;
  }
  .cd-service-card h3 {
    margin-top: -7vw !important;
    margin-bottom: 0 !important;
    max-width: 170px !important;
    padding: 2vw 3vw !important;
  }
  .cd-desc-service {
    padding: 10px 35px 25px !important;
    margin-bottom: 0 !important;
  }
  /* ---- GALLERY ---- */
  .cd-txt-gallery {
    padding: 40px 20px 20px !important;
  }
  .cd-gallery-slider {
    padding-bottom: 60px !important;
  }
  .cd-gallery-slider .cd-slider-prev,
  .cd-gallery-slider .cd-slider-next {
    bottom: -50px !important;
    width: 36px !important;
    height: 36px !important;
  }
  .cd-gallery-slider .cd-slider-prev {
    left: calc(50% - 44px) !important;
  }
  .cd-gallery-slider .cd-slider-next {
    left: calc(50% + 8px) !important;
  }
  /* ---- APPOINTMENT ---- */
  .cd-appoint-section {
    padding: 48px 20px !important;
  }
  /* ---- URGENCE ---- */
  .cd-urgence-section {
    padding: 48px 20px !important;
  }
  .cd-urgence-title-wrapper h2 {
    padding-bottom: 15px;
  }
  .cd-urgence-title-wrapper .vce-text-block-wrapper {
    padding-left: 0 !important;
    padding-right: 0 !important;
    flex-direction: column !important;
    text-align: center !important;
    margin-bottom: 32px !important;
  }
  .cd-deco-tooth-urgence {
    width: 60px !important;
  }
  /* ---- CF7 ---- */
  .cd-form-row {
    grid-template-columns: 1fr !important;
  }
  .contact-form {
    padding: 0 !important;
  }
  /* ---- BOUTONS ---- */
  .btn-action-brown,
  .btn-services {
    width: 100% !important;
    justify-content: center !important;
    text-align: center !important;
    padding: 12px 24px !important;
  }
  /* ---- BLOG ---- */
  .cd-blog-section {
    padding: 48px 20px !important;
  }
  .cd-blog-grid {
    grid-template-columns: 1fr !important;
  }
  /* ---- FOOTER ---- */
  .cd-footer {
    padding: 40px 20px 0 !important;
  }
  .cd-footer-inner {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }
  .cd-footer-menu-grid {
    grid-template-columns: 1fr 1fr !important;
  }
  .cd-footer-actions {
    flex-wrap: wrap !important;
    gap: 10px !important;
  }
  .cd-footer-col.cd-footer-nav {
    padding-left: 0 !important;
  }
  .cd-footer-bottom {
    flex-direction: column !important;
    text-align: center !important;
    gap: 8px !important;
  }
  /* ---- IMAGES ---- */
  img {
    max-width: 100% !important;
  }
  .vce-single-image-figure-inner {
    max-width: 100% !important;
  }
  .pb-30-mob {
    padding-bottom: 30px;
  }
  .cd-axe-card {
    margin-bottom: 30px !important;
  }
  .mt-30-mob {
    margin-top: 30px;
  }
}
@media (max-width: 767px) {
  .no-mobile {
    display: none !important;
  }
}
/*# sourceMappingURL=../css/mobile.css.map */
