/*
Theme Name: Mantoulan Digital Studio
Theme URI: https://martinmantoulan.fr
Description: Thème WordPress pour projets clients
Version: 1.0.0
Author: Martin Mantoulan
Author URI: https://martinmantoulan.fr
License: MIT
*/

/* Reset & Base Styles  a*/
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Nos widgets Elementor personnalisés forment chacun une section pleine largeur ;
   on retire l'espacement par défaut d'Elementor entre widgets pour éviter
   la bande blanche visible entre/après chaque section. */
.elementor-widget:not(:last-child) {
  margin-bottom: 0 !important;
}

html {
  height: 20px !important;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #fff;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Le footer doit toujours coller au bas du viewport, même si le contenu
   de la page est plus court que l'écran (sinon un bandeau blanc apparaît
   sous le footer). */
.site-main {
  flex: 1 0 auto;
}
.ssiad-footer {
  flex-shrink: 0;
}

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

/* Container */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 0.5em;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }

/* Images */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Navigation */
.main-navigation {
  display: flex;
  gap: 2rem;
}

.main-navigation a {
  font-weight: 500;
  transition: color 0.3s;
}

.main-navigation a:hover {
  color: #0066cc;
}

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

.site-content {
  flex: 1;
  padding: 2rem 0;
}

/* Posts/Pages */
.post, .page {
  margin-bottom: 2rem;
}

.post-title, .page-title {
  margin-bottom: 1rem;
}

.post-meta {
  font-size: 0.875rem;
  color: #666;
  margin-bottom: 1rem;
}

/* Buttons */
.button, input[type="submit"], button {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background-color: #0066cc;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 500;
  transition: background-color 0.3s;
}

.button:hover, input[type="submit"]:hover, button:hover {
  background-color: #0052a3;
}

/* Forms */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
textarea,
select {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-family: inherit;
  font-size: 1rem;
  margin-bottom: 1rem;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="url"]:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: #0066cc;
  box-shadow: 0 0 0 2px rgba(0, 102, 204, 0.1);
}

/* Responsive */
@media (max-width: 768px) {
  h1 { font-size: 1.75rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.25rem; }
  
  .main-navigation {
    flex-direction: column;
    gap: 1rem;
  }
  
  .container {
    padding: 0 15px;
  }
}
